chevron_right Demos chevron_right Label Text Wrapping
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.

Label Text Wrapping

This demo shows how to enable the text wrapping and trimming feature provided by the LabelStyle class. The options include wrapping at character or at word bounds, both with or without an ellipsis.

Aside from wrapping in rectangular shapes, the textWrappingShape property allows for wrapping in many more shapes like triangle, hexagon or ellipse. This can be combined with textWrappingPadding and padding to fine-tune the wrapping.

Things to Try

See the sources for details.