PhpStorm 9.0.0 Help

Creating Node Elements and Members

You can populate your model with node elements and delete them from diagram, or from your project. When a node element is created in a UML Class diagram, the corresponding stub file is created in the current package.

In a similar way, PhpStorm helps create members in the node elements.

It is also possible to clarify the contents of diagrams with notes, which are created same way.

To create a node element in a uml class diagram

  1. Do one of the following:
    • Right-click the diagram background. Next, on the context menu, point to New, and choose element type from the submenu.
    • Press Alt+Insert, and choose element type from the pop-up frame.
  2. Specify the element name, or type the contents of a note, and click OK.

To create a member in a node element

  1. Select a node element in a diagram.
  2. Do one of the following:
    • On the context menu of the selection, point to New, and then choose the member type on the submenu.
    • Press Alt+Insert, and choose member type from the pop-up frame.
  3. Depending on the selected member type, specify the member name and the other parameters. See preliminary results in the Preview pane of each dialog.

See Also

Last modified: 2 July 2015