summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen J. Turnbull2012-03-14 16:22:18 -0700
committerStephen J. Turnbull2012-03-14 16:22:18 -0700
commit26844dc61b6bc8f31801ce65cc56ce0462482139 (patch)
treeba42bc51999b710c487b8c87848b5e9f3c00c185 /src
parent6376aa2baf2b3bfb70d9be8710739df09663c20d (diff)
downloadmailman-26844dc61b6bc8f31801ce65cc56ce0462482139.tar.gz
mailman-26844dc61b6bc8f31801ce65cc56ce0462482139.tar.zst
mailman-26844dc61b6bc8f31801ce65cc56ce0462482139.zip
Improved layout of graphviz version of chains.
Diffstat (limited to 'src')
-rw-r--r--src/mailman/docs/8-miles-high.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mailman/docs/8-miles-high.rst b/src/mailman/docs/8-miles-high.rst
index 320a76dfc..973d26dbd 100644
--- a/src/mailman/docs/8-miles-high.rst
+++ b/src/mailman/docs/8-miles-high.rst
@@ -93,7 +93,7 @@ next rule in the filter chain.
.. graphviz::
digraph chains {
- rankdir=TB;
+ rankdir=LR;
approved [shape=record, label="<f0> approved | {<f1> | <f2>}"];
emergency [shape=record, label="<f0> emergency | {<f1> | <f2>}"];
loop [shape=record, label="<f0> loop | {<f1> | <f2>}"];
@@ -102,11 +102,11 @@ next rule in the filter chain.
maxsize [shape=record, label="<f0> max\ size | {<f1> | <f2>}"];
any [shape=record, label="<f0> any | {<f1> | <f2>}"];
truth [shape=record, label="<f0> truth | <f1>"];
- IN [shape=box, color=lightblue, style=filled];
+ IN [shape=box, color=lightblue, style=filled, rank=source];
IN -> approved;
- subgraph clusterbar {
- rank=same;
- subgraph clusterfubar {
+ subgraph fubar {
+ subgraph bar {
+ /* rankdir=TB; */
rank=same;
approved:f2 -> emergency;
emergency:f2 -> loop;
@@ -116,9 +116,8 @@ next rule in the filter chain.
maxsize:f2 -> any;
any:f2 -> truth;
};
- clusterfoo [shape=none];
- subgraph clusterfoo {
- rankdir=LR;
+ subgraph foo {
+ /* rankdir=TB; */
rank=same;
APPROVED [shape=box, color=lightblue, style=filled];
POSTING [shape=box, color=lightblue, style=filled];