http://programi2spr7nbgrf33hmcb6qeiunm22ipuhzqv5ytxrt2nix2negyd.onion/2016/02/opensource-review-graphviz.html
属性的定义采用如下形式: 属性名 = 属性值 (如果属性值包含空格,需用【半角】引号把属性值引用起来) 常用的【属性名】包括如下: label——标题 color——颜色 style——样式 shape——形状 (还有更多属性,可以参见官网“ 这个链接 ”) 给一个示例代码及效果图,你一看就明白了: digraph node_attr { shape1 [ shape = box , label = "编程随想注: \n 矩形节点" ]; shape2 [ shape = circle , label = "编程随想注: \n 圆形节点" ]; shape3 [ shape = ellipse , label = "编程随想注: \n 椭圆形节点" ]; shape4 [ shape = polygon , sides = 4 , skew = 0.4 , label = "编程随想注: \n 平行四边形节点" ]; shape5 [ shape = none , label = "编程随想注: \n 无边框节点" ]; shape1 -> shape2 -> shape3 -> shape4 ->...