Class Diagram Toolbar, Context Menu and Legend
For information on how to use the UML class diagram, refer to UML class diagrams .
Click this button to show fields in the class nodes.
Click this button to show constructors in the class nodes.
Click this button to show methods in the class nodes.
Click this button to enable creating extends or implements links between node elements. Click the element and drag the line from it to the other element to connect them. If this button is not pressed, links cannot be drawn.
Click this button to increase the scale of the diagram, or press NumPad+.
Click this button to decrease the scale of the diagram, or press NumPad-.
Click this button to restore the actual size of the diagram.
Click this button to make the contents fit into the current diagram size.
Click this button to apply the current layout, selected from the context menu of the diagram, or press F5.
Click this button to save the current diagram as a UML file.
Click this button to save the diagram in an image file.
Click this button to print the diagram.
This section describes only those context menu commands that are not available from the toolbar.
Add class to diagram
Choose this command to add existing class to the diagram background.
Choose this command to show the containing package of the selected node.
Choose this command to show class diagram of the selected package.
Choose this command to create a new node element or member.
Point to this node to select one of the refactoring commands available in this context.
Jump to Source
Choose this command to open the selected diagram node element in the editor.
Choose this command to search for usages of the selected node element.
Select the desired diagram layout from the submenu.
Show Edge Labels
Check this command to show multiplicities in diagram.
Legend of the Class Diagram
PhpStorm follows the UML conventions in showing relationships between the classes.
Besides that, PhpStorm supports the following colors and arrows:
The green arrow corresponds to the
The blue arrow corresponds to the