chevron_right Demos chevron_right Zoom-invariant Label Style
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
Zoom Threshold: 1

Zoom-invariant Label Style

This demo shows label styles that render the labels independent of the zoom level.

Zoom Modes

Fit into label owner
Node labels are scaled to fit into their owner if they are bigger than their owner.
Fixed below zoom threshold
Labels stop getting smaller in view coordinates if the zoom level is less than the zoom threshold.
Fixed above zoom threshold
Labels stop getting larger in view coordinates if the zoom level is greater than the zoom threshold.
Zoom-invariant (Fixed when outside specified range)
Labels don't scale when the zoom level is below the zoom threshold or above the maximum scale threshold.
Default behaviour
This is the standard behaviour of a label. See how it compares to this custom label style implementation.

Things to Try