Graphviz engin support
fiveight58 opened this issue · comments
Hi All:
Graphviz support many engin, like dot, circo, neato.
But I find this plugin only support dot engin. Am I right?
How can I use circo engin with this plugin? Thanks!
Viz-js seems to support other engines:
http://viz-js.com/
Here is where I use it:
https://github.com/hediet/visualization/blob/master/visualization-bundle/src/visualizers/graph/dot-graphviz-visualizer/GraphvizDotVisualizer.tsx#L14
Maybe some config options need to be exposed.
Thanks! I have resolved this by layout property in dot script.
digraph g1 {
layout="circo";
node [shape = doublecircle]; N4 N6;
node [shape = circle];
N0 -> N1 [ label = "{1,0}"];
N1 -> N2 [ label = "{1,0}"];
N2 -> N3 [ label = "{1,0}"];
N3 -> N4 [ label = "{1,0}"];
N4 -> N5 [ label = "{1,0}"];
N5 -> N6 [ label = "{1,0}"];
N6 -> N0 [ label = "{1,0}"];
N0 -> N4 [ label = "{1,0}"];
N1 -> N5 [ label = "{1,0}"];
N2 -> N6 [ label = "{1,0}"];
N3 -> N0 [ label = "{1,0}"];
N4 -> N1 [ label = "{1,0}"];
N5 -> N2 [ label = "{1,0}"];
N6 -> N3 [ label = "{1,0}"];
}