「Graphviz」- 常用设置

  CREATED BY JENKINSBOT

Graphviz Gallery

https://graphviz.org/gallery/
https://graphviz.gitlab.io/gallery/

Layout

About / Graph Visualization / Layout

Node

Node Shapes/Styles for Nodes
节点样式(style=):filled, invisible, diagonals, rounded, dashed, dotted, solid, bold

边框(Border)样式

Node Shapes/Polygon-based Nodes
边框形状(shape=):box; point; plaintext; plain; triangle; …

How can I hide the node boundary in graphviz?
去除边框:node [shape=plaintext]

背景(Background)填充

why doesn’t fillcolor work with graphviz? – Stack Overflow

nodeEdge0 [fixedsize=true,shape=diamond,label=".Nojjjj label.", fillcolor=red, style=filled]

字体(Font)配置

doxygen – how to change default font size for graphviz? – Stack Overflow

strict digraph {
	graph [ bgcolor=lightgray, resolution=128, fontname=Arial, fontcolor=blue, fontsize=12 ];
	node [ fontname=Arial, fontcolor=blue, fontsize=11];
	edge [ fontname=Helvetica, fontcolor=red, fontsize=10 ];
}

Edge

方向(dir=):back; both; …