Live Demo — yFiles in Action
30–45 min | Online | No install required
For Developers, Product Mangers & Executives
- Interactive graph visualization in real time
- Integration example
- Live Q&A and next step recommendations
30–45 minutes | 1:1 or team session | Online (Zoom / Teams)
No install required | We show live code
Book a free live 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.