chevron_right Demos chevron_right Selection Styling
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.

Selection Styling Demo

The Selection Styling demo shows customized selection painting of nodes, edges and labels by decorating these items with a corresponding style.

Customizing the focus and highlight painting is possible in the same way but not shown in this demo.

Things to Try

Zoom Mode

Specifies how the zoom level affects the custom selecting painting.

Zoom with graph
The visual is rendered in the world coordinate space and scales with the zoom level like a regular graph item visualization, for example a node style.
Always the same size
The visual is rendered in the view coordinate space and doesn't scale with the zoom level, similar to the default node resize handles, for example.
Mixed
Uses world coordinates for zoom level ≥ 1 and view coordinates for zoom level < 1.
No downscaling
Uses world coordinates for zoom level ≥ 1 and view coordinates for zoom level < 1, but in the latter case, the visual does not scale down below its initial size.