4 releases
0.0.4 | Feb 4, 2024 |
---|---|
0.0.3 | Jan 16, 2023 |
0.0.2 | Oct 17, 2021 |
0.0.1 | Dec 3, 2020 |
#2126 in Parser implementations
18KB
491 lines
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
Dependencies
~3MB
~48K SLoC