Open
Description
Instead of a lot of print statements, use a crate for graph creation and then dot file generation.
Something like
https://docs.rs/dot/0.1.4/dot/
Or
https://github.com/besok/graphviz-rust
Or
https://docs.rs/petgraph/latest/petgraph/dot/struct.Dot.html