There is no current method of displaying "dynamic line breaking" as you type in a live node. However, there is a way to type it and see it as you edit it (Window Mode below). There are also some useful techniques to control the text as described below.
Window Text Line Breaks
This method allows you to see how your text will appear as you type it.
- Select the node you'd like the text to automatically line break within the shape.
- In Properties panel view:
- Select the "..." to the right of the "Text" input area.
- This opens a window that will display text similar to what you type.
- Press "Enter" to line break here. Add text as desired. Press "OK" to see how the text will look.
- For this method to manifest in the shape properly, you'll likely want to use the Automatic - Text Fitting method below.
Automatic - Text Fitting
This method will fit the text within your shape.
- Select the node you'd like the text to automatically line break within the shape.
- In Properties panel view:
- In "Size" change from "Fit Content" to "Fit Node Size" (alternatively, you can select "Fit Node Height" or "Fit Node Width" if you'd like). The text will only change the overall position (need to do the next step to fit it inside).
- In "Configuration" change from "Standard" to "Cropping". The text will now fit inside the shape.
Manual Line Breaking
This method allows you, at any time, to break a line.
- With your cursor at the end of the line you wish to break, press "CTRL+Enter" (for Mac, it is likely "Command+Enter"). The text after your line break will appear on the next line.
TIP: Add Padding so there is space between the text and the shape edges:
- Within the shape's Properties panel, set "Insets" value (e.g. "20" will pad all around the shape so your text fits within it).
- Entering "20" will end up displaying "20 20 20 20" in Insets. This is because there are actually 4 values ("0 0 0 0" by default).
- The numbers represent padding in different directions: Top, Left, Bottom, Right (so "0 20 0 0" would yield 20 padding to the left).
If you want one or more of these features used a lot, you can either set (at least some of) them as defaults, copy/paste the shape and edit for new content, or you can use "Current Elements" described below.
Current Elements - re-use node and edge styles
This method allows you to re-use mode and edge styles that you have already created, so you don't have to create them from scratch every time.
- Within the "Palettes" panel, scroll to "Current Elements."
- This displays nodes and edges you are currently using in the document.
- To re-use one as default, double-click it (either node or edge). This will be what you create by default from now on.
Hope this helps!
-senntertain