chevron_right Demos chevron_right Custom Edge Creation
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.

Interactive Edge Routing:

Custom Edge Creation Demo

This demo shows how to provide directional IPorts and PortCandidates and demonstrates several customizations for the edge creation gesture.

Ports and PortCandidates

Each node provides directional ports that are visualized with a circular ShapePortStyle.

This demo restricts edge creation to the provided PortCandidates. Therefore, the PortCandidates are also shown on the source on hover to indicate that edge creation may start there.

The Show Ports button in the toolbar toggles the visualization of the ports. Note how the PortCandidates are still visible on hover even if the ports are not visualized anymore.

Edge Creation

The edge color of newly created edges is dynamically determined by the source node from which the edge creation gesture originates.

Enable Target Node toggles whether edge creation should create a target node as well. This enables users to end the creation gesture on the empty canvas.

Interactive Edge Routing

This demo illustrates different approaches to interactive edge routing during edge creation: