yEd: Multi-Line Labels

In yEd, the wonderfully flexible, smart and free diagramming/graphing tool, suppose I want to write some notes/prose or even paste-in some script (dramatic or algorithmic).  That can be done as follows:

http://yed.yworks.com/support/qa/38/how-can-i-get-multi-line-labels

  • Several options:
    • Force a new-line:
      • [Control-Enter]
      • [Enter]
        • when the label is entered in the tabular view of the node’s properties,
        • or in the node’s properties dialog (which can be opened by hitting F6 [Mac OS: Command-I])
      • HTML Markup
        • Example:
          <html><div style="text-align:center">This is a<br>
          <b>multi-line</b><br>
          label.</div></html>
    • Automatic text-wrapping:
      • Automatic text wrapping for a label is configured using the Cropping label configuration. For a node label, for example, it can be set in the node’s Properties dialog under the [Label] tab:
        • Placement: [Internal: Top]
        • Size: [Fit Node Width]
        • Configuration: [Cropping]

Comments are closed.