Comment on page
How do I control text wrapping?
When you want to fit text inside of an element, or just make sure that labels underneath elements aren't too wide, you can customize your text-wrapping.
As long as you aren't using the SNA template, "fast" quality, or the WebGL renderer, you can force a line break in the label of an element, connection, or loop by adding a double-space inside the label.
Here's a screenshot of an element before adding any double-spaces:
element with unusually long label
And here's a screenshot of that same element, with a double-space between the words "with" and "an", and with a double-space between the words "unusually" and "long".
element with unusually long label broken up using double-spaces
text-overflow: auto 20;
text-overflow: wrap 10;
The table below has a description of all the possible values you can use for the
text-overflowproperty, and what the effect of each one is.