There is no commentSelect some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Graphviz note
有向圖 Digraph
Edges style
Subgraphs
Attributes
graph
label="My Graph";Label a graph itself
rankdir=LR;Lay the graph out from Left to Right, instead of Top to Bottom
{rank=same; a, b, c }Group nodes together at the same level of a graph
splines="line";Force edges to be straight, no curves or angles
K=0.6;Used to influence the 'spring' used in the layout, Can be used to push nodes further apart, which is especially useful for twopi and sfdp layouts
vertex
[label="Some Label"]Labels the Vertex
[color="red"]Colors the Vertex
[fillcolor="blue"]Fills the Vertex with the specified colour
dege
[label="Some Label"]Labels the Edge (Useful for Weights)
[color="red"]Colors the Vertex (Useful for Paths)
[penwidth=2.0]Adjusts the thickness of the edge line, Very useful for Paths