UML Notation

The yEd graph editor allows simple creation of UML nodes (and edges) like they
are used in specific UML diagrams.

UML class nodes, use case nodes, actors, or notes can be created by dragging sample
representations from the ‘UML’ section in the Palette tool window
into the active editor window (using a mouse drag gesture).

This palette section also holds representations for edges specific to the UML
notation.
To create a corresponding edge:

  1. drag the representation for an edge type onto a node in the active editor,
  2. release the mouse, thus denoting the start node for the edge, then
  3. drag to another node (optionally creating bends in the edge by clicking on empty
    locations in the editor), and
  4. with a final mouse click denote the target node for the edge.

Class Nodes

You can enter data for a UML class nodes using the following steps:

  1. Select the class node in the active editor (mouse click).
  2. Use F2 [Mac OS: ENTER] to activate a label editor and set the label for the
    selected node.
    The label will be the name of the class.

    Alternatively, the label can also be entered in the next step.
  3. Press F6 [Mac OS: Command-I] to open the ‘Properties…’ dialog for the selected
    node.
  4. In the ‘UML’ tab insert attributes and methods of the class one per line (terminate
    the line with ENTER).
  5. Stereotype and constraint can be set in this dialog, too.

Note that the ‘Properties…’ dialog for a selected node can also be opened using
the respective entry from the node’s context-sensitive menu.