graphviz-dot-parser

Crates.iographviz-dot-parser
lib.rsgraphviz-dot-parser
version0.0.4
sourcesrc
created_at2020-12-03 21:12:29.832487
updated_at2024-02-04 05:48:52.587303
descriptionA simple (incomplete) parser for Graphviz DOT format
homepage
repositoryhttps://github.com/fangyi-zhou/graphviz-dot-parser
max_upload_size
id319445
size21,120
Fangyi Zhou (fangyi-zhou)

documentation

README

A Simple Parser for Graphviz DOT language

Parse DOT into GraphAST, which can then convert to a graph in the petgraph library.

Still work-in-progress, pull requests are welcomed!

A few TODOs

  • Handle comments/spaces correctly
  • Support subgraphs and attribute statements
  • Convert node/edge labels into petgraph
  • Support edges with multiple RHS
  • Support node_id with ports
Commit count: 43

cargo fmt