-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
In graphviz, the format of the file (whether the first line is digraph or graph) determines whether -> or -- arrows are allowed, and whether dir will default to none or normal.
This is neat but
- we normally deal with json, which makes no such distinction
- currently we don't have any graph-level attributes in json (although maybe we will someday)
- graphlib-dot supplies
isDirectedbut we throw it out since we pretend graphviz is a special case of json (!)
I dunno, maybe this is misguided, but the proposal is that maybe directedness is a property of the layout algorithm, and we could default dir by reading a flag on the algorithm?
Anyway, right now simple-viewer gives inconsistent results depending whether you start in graphviz mode or not, and something should be done!
Reactions are currently unavailable