Hierarchic Layout with Edge Grouping
This demo shows how to configure edge grouping for the
For edges connecting to nodes
5, source and target group
IDs are configured, which causes the HierarchicLayout to group them. The
IDs are defined via properties
Click the button in the toolbar to toggle between HierarchicLayout with
and without configured edge routing.
You can copy the code snippet to configure the layout from
Edge grouping for other layouts
The edge grouping setup for other algorithms that support the feature is basically
identical. The respective LayoutData implementations offer the same
properties, so that the snippet provided by this demo can easily be adjusted.
You can also take a look at the Edge Grouping Demo and the
EdgeRouter Grouping Demo for more elaborate applications of edge grouping.
The Developer's Guide provides more information about
Layout with Edge Grouping.