i need draw graph has root node , childs have crossrelations between them standard graphviz draw algorithm. root on top, childs below. treelayout , radialtreelayout not suit (not strong tree , show buggy view tree when it's tree). there way draw graph graphviz without forest , treelayout, radialtreelayout? can't find standard layout sparsemultigraph that.
the basic idea extract tree original graph, lay out tree using treelayout, , use positions layout input staticlayout original graph.
there's sample code here: https://github.com/jrtom/jung/blob/master/jung-samples/src/main/java/edu/uci/ics/jung/samples/minimumspanningtreedemo.java
Comments
Post a Comment