Graphviz quick reference
2013-02-17 09:12
225 查看
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Graphviz quick reference
Graphviz quick reference
Sample
Simple
1: digraph G { 2: size ="4,4"; 3: main [shape=box]; /* this is a comment */ 4: main -> parse [weight=8]; 5: parse -> execute; 6: main -> init [style=dotted]; 7: main -> cleanup; 8: execute -> { make_string; printf} 9: init -> make_string; 10: edge [color=red]; // so is this 11: main -> printf [style=bold,label="100 times"]; 12: make_string [label="make a\nstring"]; 13: node [shape=box,style=filled,color=".7 .3 1.0"]; 14: execute -> compare; 15: }
Subgraph
digraph G { subgraph cluster0 { node [style=filled,color=white]; style=filled; color=lightgrey; a0 -> a1 -> a2 -> a3; label = "process #1"; } subgraph cluster1 { node [style=filled]; b0 -> b1 -> b2 -> b3; label = "process #2"; color=blue } start -> a0; start -> b0; a1 -> b3; b2 -> a3; a3 -> a0; a3 -> end; b3 -> end; start [shape=Mdiamond]; end [shape=Msquare]; }
Node, Edge and Graph Attributes
http://www.graphviz.org/doc/info/attrs.htmlRefrence 1@Page31.
BTW, Adobe support open the pdf on the specified page 2, but the chrome doesn't
support this feature.
I have another try when I post this blog, the page parameter works. So COOL!!!
Footnotes:
1 http://www.graphviz.org/pdf/dotguide.pdf#page=302 http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
Post by: Jalen Wang (转载请注明出处)
相关文章推荐
- Doxygen + Graphviz windows+Windows Help Workshop下安装配置(图解)
- 纪念一下装了一天终于成功了的 pygraphviz
- 40 JavaScript Chart and Graph Libraries for Developers--reference
- cocos2d-x--使用doxygen+graphviz生成源码文档
- SVN Quick Reference
- Python + Graphviz 绘制神经网络结构图
- 转载_Doxygen + Graphviz + Htmlhelp, 成为开源代码转换文档好手
- Quick Reference for Linux Device Drivers Development (kernel 2.6.15)
- Quick Reference to Patch Numbers for Database PSU, SPU(CPU), Bundle Patches and Patchsets (Doc ID 14
- Graphviz Label标签中可以使用转义字符
- Mel Quick Reference I
- 看开源代码利器—用Graphviz + CodeViz生成C/C++函数调用图(call graph)
- A SCSI command code quick reference
- 使用pygraphviz画出二叉树
- org graphvize 编译 自动关闭*compilation* buffer
- 看开源代码利器—用Graphviz + CodeViz生成C/C++函数调用图(call graph
- Regular Expression - Quick Reference Guide
- Mel Quick Reference II
- Linux Quick Reference
- MathJax basic tutorial and quick reference(LaTex数学公式语法)