Graphviz Notes

来自Jack's Lab
2016年4月21日 (四) 11:50Comcat (讨论 | 贡献)的版本

跳转到: 导航, 搜索

1 Introduction

$ dot test.dot -T png -o test.png



2 Examples

digraph automata_0 {
  size = "8.5, 11";
  fontname = "Microsoft YaHei";
  fontsize = 10;
  
  node [shape = circle, fontname = "Microsoft YaHei", fontsize = 10];
  edge [fontname = "Microsoft YaHei", fontsize = 10];
  
  0 [ style = filled, color=lightgrey ];
  2 [ shape = doublecircle ];
  
  0 -> 2 [ label = "a " ];
  0 -> 1 [ label = "other " ];
  1 -> 2 [ label = "a " ];
  1 -> 1 [ label = "other " ];
  2 -> 2 [ label = "a " ];
  2 -> 1 [ label = "other " ];
  
  "Machine: a" [ shape = plaintext ];
}



























个人工具
名字空间

变换
操作
导航
工具箱