Layout Features Tutorial
Hierarchic Layout with PortCandidateSet
This demo shows how to use a
to define the port locations for a node as well as control how many edges can be connected
to each port.
is used that contains four port candidates, one for each side of the node.
only allows for one connecting edge, hence the four incoming edges are distributed to the
four port candidates.
Click the button in the toolbar to toggle between
with and without a configured port candidate set.
You can copy the code snippet to configure the layout from
Restricting Port Locations
section in the Developer's Guide for an in-depth discussion of the relevant concepts.