From 26844dc61b6bc8f31801ce65cc56ce0462482139 Mon Sep 17 00:00:00 2001 From: Stephen J. Turnbull Date: Wed, 14 Mar 2012 16:22:18 -0700 Subject: Improved layout of graphviz version of chains. --- src/mailman/docs/8-miles-high.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/mailman') 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=" approved | { | }"]; emergency [shape=record, label=" emergency | { | }"]; loop [shape=record, label=" loop | { | }"]; @@ -102,11 +102,11 @@ next rule in the filter chain. maxsize [shape=record, label=" max\ size | { | }"]; any [shape=record, label=" any | { | }"]; truth [shape=record, label=" truth | "]; - 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]; -- cgit v1.2.3-70-g09d2