图形可视化 : parallel edges in undirected graph overlap

标签 graphviz

graph {

0--1;
0--2;
0--1;
}

在上面的 0 和 1 之间的平行边在使用 dot 命令生成 jpg 时被绘制为单边。有可能避免这种情况吗?

enter image description here

最佳答案

升级您的版本。我得到以下输出:

enter image description here

您还可以尝试使用样条线图形属性:http://www.graphviz.org/doc/info/attrs.html#d:splines

关于图形可视化 : parallel edges in undirected graph overlap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15376360/

相关文章:

graphviz - 仅在 graphviz 中显示唯一的边

orientation - Graphviz:控制节点在子图中对齐

python - 在 Windows、Python 2.6 上安装 PygraphViz

graphviz - Graphviz输出困惑

graphviz - 如何在 GraphViz 中为基于记录的节点的端口设置样式?

graphviz - graphviz中headlabel和taillabel的不同颜色

r - GraphViz:未使用新安装程序设置Windows PATH,从R调用时出现问题

python - 即使在拥有 Graphviz 之后,Pyreverse 也会提示

r - 在R中: is there a way to render a graph for two groups of nodes with different lengths?

python - 格式 : "png" not recognized at pygraphviz Python, Heroku