From af74eb30679b0922b67b89eb40027930e2a52041 Mon Sep 17 00:00:00 2001 From: Tom Everett Date: Sun, 1 Nov 2020 20:45:46 -0700 Subject: [PATCH] additional example --- dot/examples/dg.dot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dot/examples/dg.dot diff --git a/dot/examples/dg.dot b/dot/examples/dg.dot new file mode 100644 index 0000000000..506c79d8d1 --- /dev/null +++ b/dot/examples/dg.dot @@ -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 } +}