Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | About

35.3. Node, Edge and Graph Attributes

35.3.1. Color Names

http://www.graphviz.org/doc/info/colors.html

綫顏色

	subgraph cluster_api {
		#rank=same;
		node [style=filled];
		label = "api";
		#color=blue
		api [label = "api.netkiller.cn"];
		api->redis [color="red"];
		api->mongodb [color="green"];
		api->oracle [color="blue"];
		
	}
			

35.3.2. Node Shapes

http://www.graphviz.org/doc/info/shapes.html

35.3.3. 箭頭

digraph G {  
	A -> B [arrowhead="vee"]
	AA -> BB [dir="back" arrowtail="vee"]
	AAA -> BBB [dir="both" arrowhead="vee" arrowtail="odiamond"]
}