Graphviz - 什么是有效的样式属性?

Graphviz - What is a valid style attribute?

Graphviz attributes documentation 描述了样式属性,但没有说明它可能包含的值:

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.

Graphviz 中的有效样式属性是什么?

如果仔细观察,same documentation page 还指定了一个名为 style 的 Type 来描述有效的样式。摘录:

At present, the recognized style names are "dashed", "dotted", "solid", "invis" and "bold" for nodes and edges, "tapered" for edges only, and "filled", "striped", "wedged", "diagonals" and "rounded" for nodes only. The styles "filled", "striped" and "rounded" are recognized for clusters. The style "radial" is recognized for nodes, clusters and graphs, and indicates a radial-style gradient fill if applicable.