Skip to content

Commit

Permalink
additional example
Browse files Browse the repository at this point in the history
  • Loading branch information
teverett committed Nov 2, 2020
1 parent 39e3576 commit af74eb3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dot/examples/dg.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
digraph g {
node [shape=plaintext];
A1 -> B1;
A2 -> B2;
A3 -> B3;

A1 -> A2 [label=f];
A2 -> A3 [label=g];
B2 -> B3 [label="g'"];
B1 -> B3 [label="(g o f)'" tailport=s headport=s];

{ rank=same; A1 A2 A3 }
{ rank=same; B1 B2 B3 }
}

0 comments on commit af74eb3

Please sign in to comment.