bc.gv 424 B

123456789101112131415161718192021
  1. digraph boxes_and_circles {
  2. # a 'graph' statement
  3. graph [overlap = true, fontsize = 10]
  4. # several 'node' statements
  5. node [shape = box,
  6. fontname = Helvetica]
  7. A; B; C; D; E; F
  8. node [shape = circle,
  9. fixedsize = true,
  10. width = 0.9] // sets as circles
  11. 1; 2; 3; 4; 5; 6; 7; 8
  12. # several 'edge' statements
  13. A->1 B->2 B->3 B->4 C->A
  14. 1->D E->A 2->4 1->5 1->F
  15. E->6 4->6 5->7 6->7 3->8
  16. }