andrewdavidmackenzie / flow

Exploration of a data-flow programming paradigm
MIT License
28 stars 2 forks source link

Graph generation using a crate #1364

Open andrewdavidmackenzie opened 2 years ago

andrewdavidmackenzie commented 2 years ago

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

andrewdavidmackenzie commented 1 year ago

Maybe remove from the compiler completely and have a separate tool able to create the SVG from a compiled manifest.json

andrewdavidmackenzie commented 1 year ago

Or try D2 instead of graphviz https://github.com/terrastruct/d2

andrewdavidmackenzie commented 1 year ago

Or https://gephi.org/

andrewdavidmackenzie commented 1 year ago

or https://en.wikipedia.org/wiki/Igraph

andrewdavidmackenzie commented 1 year ago

or https://www.yworks.com/products/yed