PhpStorm 8.0.2 Web Help

Class Diagram Toolbar and Context Menu

In this section:

Toolbar

Item Description
method.png Click this button to show methods in the class nodes.
field.png Click this button to show fields in the class nodes.
constructor.png Click this button to show constructors in the class nodes.
edgemode.png Click this button to enable creating extends or implements links between node elements. If this button is not pressed, links cannot be drawn.
erDiagramIconZoomIn.png Click this button to increase the scale of the diagram, or press NumPad+.
erDiagramIconZoomOut.png Click this button to decrease the scale of the diagram, or press NumPad-.
erDiagramIconActualSize.png Click this button to restore the actual size of the diagram.
erDiagramIconFitContent.png Click this button to make the contents fit into the current diagram size.
erDiagramIconApplyLayout.png Click this button to apply the current layout, selected on the context menu of the diagram, or press F5.
mainToolbarSave Click this button to save the current diagram as a *.uml file.
exportToTextFile.png Click this button to save the diagram in an image file with the specified name and path. The possible formats are:jpeg, png, svg, svgz, or gif.
print.png Click this button to print the diagram.
printPreview.png Click this button to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

Context menu

This section describes only those context menu commands that are not available from the toolbar.

Item Shortcut Description
Add class to diagram Space Choose this command to add existing class to the diagram background.
Collapse nodes C Choose this command to show the containing package of the selected node.
Expand nodes E Choose this command to show class diagram of the selected package.
New Alt+Insert Choose this command to create a new node element or member.
Refactor Point to this node to select one of the refactoring commands available in this context.
Analyze Point to this node to select one of the code analysis commands available in this context.

See Also

Last modified: 10 December 2014