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

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.