PhpStorm 8.0.2 Web 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  (field, constant, or method),  specify the member name and the other parameters. See preliminary results in the Preview pane of each dialog.

See Also

Language and Framework-Specific Guidelines:

External Links:

Last modified: 10 December 2014