cr.dot 468 B

12345678910111213141516171819202122232425262728293031323334
  1. /* clusterrank to control the subgraphs */
  2. digraph "cr"
  3. {
  4. yydebug=true;
  5. /* clusterrank=global; */
  6. /* clusterrank=none; is same as global */
  7. clusterrank=local; /* give cluster separate layout */
  8. 10;
  9. subgraph cluster_1
  10. {
  11. a1->a2->a3;
  12. }
  13. subgraph cluster_2
  14. {
  15. b1->b2->b3;
  16. }
  17. 10->a1;
  18. 10->a3;
  19. a3->b3;
  20. /* now the same but without cluster */
  21. 20;
  22. subgraph sg_1
  23. {
  24. aa1->aa2->aa3;
  25. }
  26. subgraph sg_2
  27. {
  28. bb1->bb2->bb3;
  29. }
  30. 20->aa1;
  31. 20->aa3;
  32. aa3->bb3;
  33. }