Wgraph:Demo horizontal order

From FollowTheScore
Jump to: navigation, search
  • By assigning integers to nodes which reside on the same level (assuming a hierarchical layout) you can enforce their horizontal ordering.
  • see also Wgraph:Demo vertical_order

{{#wgraph:png|thumb=30|wgl|

 node A1 {}
 node B1 {}
 node C1 {}
 node D1 {}
 edge A1 B1 {}
 edge A1 C1 {}
 edge A1 D1 {}
 edge X1 D1 {}
 node A2 {}
 node B2 { horizontal_order 10 }
 node C2 { horizontal_order 30 }
 node D2 { horizontal_order 25 }
 edge A2 B2 {}
 edge A2 C2 {}
 edge A2 D2 {}
 edge X2 D2 {}

}}