graphviz - 获取 graphviz 以在边缘上方绘制节点

标签 graphviz nodes edges

有什么方法可以强制 graphviz 始终在边缘上方绘制节点,即使边缘是在节点上方(或最好在节点下方)绘制的?

到目前为止,我已经尝试对它们进行排序和不同的图层选项,但没有找到有效的方法。

最佳答案

您需要指定 outputorder="edgesfirst" .这可以在 documentation 中找到.

关于graphviz - 获取 graphviz 以在边缘上方绘制节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2458206/

相关文章:

graphviz - 在 Graphviz 中的子图下添加标签

jQuery 选择文本节点并删除其内容

python - NetworkX:从节点属性向图中添加边

c - 如何在linux中添加graphviz库?

c++ - 使用 write_graphviz() 打印一个 constified 子图

C程序编译但不会打印出main方法中的测试用例

c - 错误 : request for member ‘-----’ in something not a structure or union

python - 如何在 python 中使用 igraph 从边缘获取顶点?

javascript - 在 X3DOM 中绘制边

graphviz - 将集群置于 Graphviz 中的同一等级