Crates.io | ilmen-dot-parser |
lib.rs | ilmen-dot-parser |
version | 0.0.1 |
source | src |
created_at | 2024-11-21 19:37:06.631875 |
updated_at | 2024-11-21 19:37:06.631875 |
description | A dot file parser |
homepage | https://github.com/superdaminou/ilmen-dot-parser |
repository | |
max_upload_size | |
id | 1456611 |
size | 37,594 |
A standard and basic library to read from file, manipulate and write DOT graph.
This is still a project under construction and primiraly use by myself for fun in other personal projects.
The API is still under reflexion and may evolve rapidly and abruptly.
As it's first use with petgraph you can use the petgraph
feature to allow simplified conversion from DotGraph to petgraph::StableGraph.
Standard usage:
let graph : DotGraph = DotGraph::graph_from_file("./graph.dot").unwrap();
let as_dot_content : String = graph.write("./graph.dot");
Feel free to open issues.