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
- Do one of the following:
Right-click the diagram background. Next, on the context menu, point to
, and choose element type from the submenu.Press Alt+Insert, and choose element type from the pop-up frame.
Specify the element name, or type the contents of a note, and click OK.
To create a member in a node element
Select a node element in a diagram.
- Do one of the following:
On the context menu of the selection, point to
, and then choose the member type on the submenu.Press Alt+Insert, and choose member type from the pop-up frame.
Depending on the selected member type, specify the member name and the other parameters. See preliminary results in the Preview pane of each dialog.