chevron_right Demos chevron_right Graph Decorator
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.

Demo

Graph Decorator

This demo shows how to use the graph decorator concept to customize the behavior and the visualization of graph items.

As an example, this demo decorates the nodes with a port candidate provider that is a combination of the following existing port candidate providers:

IPortCandidateProvider.fromExistingPorts
Provides port candidates at the locations of already existing ports.
IPortCandidateProvider.fromNodeCenter
Provides a single port candidate at the center of the node.
IPortCandidateProvider.fromShapeGeometry
Provides several port candidates based on the shape of the node's style.

See the sources for details.