Wgraph:Demo orientation
From FollowTheScore
{{#wgraph:svg|thumb=60|wgl|
subgraph s1 { state boxed orientation left_to_right}
node A s1 {} node B1 s1 {} node B2 s1 {shape trapezoid} edge A B1 {} edge A B2 {}
subgraph s2 { state boxed orientation right_to_left}
node C s2 {} node D1 s2 {} node D2 s2 {shape trapezoid} edge C D1 {} edge C D2 {}
subgraph s3 { state boxed orientation top_to_bottom}
node E s3 {} node F1 s3 {} node F2 s3 {shape trapezoid} edge E F1 {} edge E F2 {}
subgraph s4 { state boxed orientation bottom_to_top}
node G s4 {} node H1 s4 {} node H2 s4 {shape trapezoid} edge G H1 {} edge G H2 {}
}}