diff options
Diffstat (limited to 'doc/net.dot')
-rw-r--r-- | doc/net.dot | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/net.dot b/doc/net.dot new file mode 100644 index 0000000..d7a1bf3 --- /dev/null +++ b/doc/net.dot @@ -0,0 +1,17 @@ +digraph abc { + node [shape=circle, size=0.2]; + rankdir=LR; + + x₁ -> a₁[label = w¹]; + x₁ -> {a₂ a₃}; + x₂ -> {a₁ a₂ a₃}; + + a₁ -> d₁[label = w²]; + a₁ -> d₂; + a₂ -> {d₁ d₂}; + a₃ -> {d₁ d₂}; + + subgraph {rank=source; x₁; x₂}; + subgraph {rank=same; a₁; a₂; a₃}; + subgraph {rank=sink; d₁; d₂}; +} |