我想增加节点的边框宽度,但我发现有向图边缘中的箭头并不考虑增加的宽度。相反,他们沉入了边界。这是我的简单图表。
strict digraph {
a [penwidth="10.0"];
b [penwidth="10.0"];
a -> b;
}

我如何才能安全地增加节点宽度,或者使边更向后移动?通读attribute list,我没有找到一种方法。最接近的是peripheries,但它会产生多个窄的边缘,而不是厚的边缘,但边缘确实会粘在最外面的边缘。
发布于 2020-12-12 06:37:12
这是一个已知的错误:https://forum.graphviz.org/t/allign-nodes-stroke-with-end-of-the-arrows-path-width/462
我所知道的唯一解决办法是“移动”节点b或缩短边-在bug报告中描述。
https://stackoverflow.com/questions/65258230
复制相似问题