chevron_right Demos chevron_right Snapping
Related demos
Book a live Demo

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

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Snapping

This demo shows how to enable snapping (guide lines) for graph elements. This is provided through class GraphSnapContext.

Snapping helps you to arrange graph items interactively without running an automatic layout by providing useful lines and position hints that elements snap to.

In addition to this, labels with certain label models can snap to particular positions relative to their owner, for example to the corners of a node or along the edge path.

See the sources for details.