Layout is a rust library and a stand alone utility that draws graphs. Layout can parse Graphviz dot files and render them.
This uses druid directly from github which means this is subject to break at any time. Once druid 0.8 comes out, I will pin to that
Build the crate and render some dot files with the command
crate run --bin run ./inputs/bk.dot -o output.svg
This section presents a few graphs that were rendered from dot files:
A simple graph.
A simple graph with multiple shapes and labels.
A graph with a few style properties.
A large graph that demonstrates the edge crossing elimination optimization.
Unicode, emoji and right-to-left languages:
Support for Records (nested structures):
Debug-mode rendering that helps to visualize the druid_graphviz_layout decisions: