时间:2010-07-23 22:23:03

标签: python macos graphviz dot

1 个答案:

答案 0 :(得分:3)

是的,子图将起作用。

digraph {
  subgraph { rank = same; A0 };
  subgraph { rank = same; B0; B1 };
  root -> A0;
  A0 -> B0;
  root -> B1;
}

结果

alt text http://images.brool.com/upload/graph.jpg