Wgraph:Demo vertical order

From FollowTheScore
Jump to: navigation, search
  • In hierarchical layouts you can enforce the level on which a node is placed
  • level 0 is the top most level
  • You can even "reverse edges", see A4-B4
  • See also Wgraph:Demo horizontal_order

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

 edge A1 B1 {}
 edge B1 C1 {}
 edge D1 C1 {}
 edge A2 B2 {}
 edge B2 C2 {}
 edge D2 C2 {}
 node A2 { vertical_order 1 }
 node D2 { vertical_order 0 }
 node A3 { vertical_order 3 }
 node A4 { vertical_order 2 }
 node B4 { vertical_order 1 }
 edge A4 B4 {}

}}