The label-related options can be configured in the application preferences dialog on the [Editor] tab:
If set, a consecutive numbering is used for the label of newly created nodes. Otherwise, the label of newly created nodes remains empty.
If set, upon node creation the label of newly created nodes can directly be edited.
If set, upon edge creation the label of newly created edges can directly be edited.
Determines whether the node size gets automatically adjusted to the label. If set, the node size is adjusted whenever the label changes. Internally, the Fit Node to Label tool is used. Thus it is possible to fine-tune the node size adjustment by changing the settings of the tool.
You can choose whether the ENTER key closes the label editor or creates a new line.
You can use the Fit Label to Node tool to manually adjust the label to the node's size. This tool supports different strategies, e.g., wrapping the label text, which leads to multi-line labels.
Another way of achieving multi-line labels is described here:http://yed.yworks.com/qa/38