chevron_right Demos chevron_right Hierarchical Layout with Node Port Candidates
Discover More
Book a live Demo

See yFiles in action

30 min • Online • No install required


For developers, PMs & tech leads

  • Quick-start walkthrough + a real integration example
  • Live Q&A with next-step recommendations

Prefer another tool over Zoom? Just say so when you book.

Opens our scheduling page with Zoom's booking widget embedded. Using it shares your data with Zoom under its Privacy Policy.

See yFiles in action

30 min • Online • No install required


For developers, PMs & tech leads

Prefer another tool over Zoom? Just say so when you book.

Opens our scheduling page with Zoom's booking widget embedded. Using it shares your data with Zoom under its Privacy Policy.

Hierarchical Layout with Node Port Candidates

This demo shows how to use NodePortCandidates to define the port locations and limit the number of edges per port in HierarchicalLayout.

Node 5 uses four port candidates, one for each side of the node.

Each LayoutPortCandidate only allows for one connecting edge, hence the four incoming edges are distributed to the four port candidates.

Things to Try

Click the button in the toolbar to toggle between hierarchical layout with and without a configured port candidate set.

Documentation