我想采用一个简单的 graphviz 输入文件(或者像 X -> Y 符号这样简单的文件),并有一个图表,我可以在其中重新组织节点的位置,而无需手动指定坐标。有没有办法做到这一点?
If you run graphviz in SVG output mode, you'll get an SVG file, which you can then edit easily (e.g., with Inkscape).
dot -Tsvg foo.dot > foo.svg
Run Code Online (Sandbox Code Playgroud)
or neato, or whatever. -Tfig (xfig), -Tmif (FrameMaker) -Tps (PostScript), and -Tdia (dia, Linux/GTK diagraming tool) may also work, depending on what software you have available. A complete list of output formats is available.
当然,graphviz 的重点是你不必手工布置……你看过一些graphviz 选项吗?他们可能会缓解您遇到的任何问题。