Application Features Tutorial

Label Text Wrapping

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

  • Select and resize the nodes to see how the different wrapping types behave.
  • New interactively added labels use word wrapping with ellipsis.
  • Try the right to left text direction. This will rebuild the graph with Hebrew text labels.

See the sources for details.