gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 09:13:10 24 4
gpt4 key购买 nike

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.

关于Graphviz - 什么是有效的样式属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47315241/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com