Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
graph { 0--1; 0--2; 0--1; }
在上面,当使用 dot 命令生成 jpg 时,0 和 1 之间的平行边被绘制为单边。有可能避免这种情况吗?
升级你的版本。我得到以下输出:
您还可以尝试使用样条图属性:http ://www.graphviz.org/doc/info/attrs.html#d: splines
如果我理解这个问题,这应该可以满足您的需求。
graph { 0--1 [color="black:white:black"]; 0--2; }