chevron_right Demos chevron_right Split Edges
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session

Book a free live demo

Split Edges Demo

This demo shows how to use split ids to align edges outside with edges inside a group nodes in RecursiveGroupLayout. In RecursiveGroupLayout the routing for inter-edges is sometimes not satisfactory. Inter-edges are edges that connect nodes outside of a group with nodes inside of this group. Since RecursiveGroupLayout routes these edges after the rest of the graph is arranged, they sometimes don't fit into the overall layout style.

In combination with HierarchicalLayout, inter-edges can be replaced with two edges that are aligned at the group node. HierarchicalLayout provides the option that an edge is routed directly from the border of a group nodes to a node inside of this group node instead of leaving the group node first.

Things to Try

Change the graph and the split ids of the edges and see how the layout changes, too. Edges with split ids are colored different than black.