Graphviz 属性文档 描述了 style 属性,但没有说明它可能具有哪些值:
什么是Graphviz中有效的样式属性?Set style information for components of the graph. For cluster subgraphs, if style="filled", the cluster box's background is filled. If the default style attribute has been set for a component, an individual component can use style="" to revert to the normal default. For example, if the graph has
edge [style="invis"]
making all edges invisible, a specific edge can overrride this via:
a -> b [style=""]
Of course, the component can also explicitly set its style attribute to the desired value.
dot
中,同时具有“圆角”和“填充”的样式是合法的。我在这里或文档中没有看到对此问题的任何讨论。 - Robert P. Goldmanstyle="rounded,dotted"
对我有效,这导致一个box
形状的节点具有 同时dotted
和rounded
边框。 - LVK