PyCharm 2021.1 Help

Diagram toolbar and context menu

Toolbar

ItemDescription
the Show Path Root Selection iconSelect dependencies and click this icon to see how they are connected to the root.
the Show Neighbors of Selected NodesSelect dependencies and click this icon to see what other dependencies are connected to the selected nodes.
the Change Visibility Level icon

Click this icon to select the dependency scope you want to see. PyCharm displays only the specified dependency scope.

Icons graph snap to gridClick this icon to add borders to the nodes in your diagram.
Zoom InClick this icon to increase the scale of the diagram. Alternatively, press NumPad+.
Zoom OutClick this icon to decrease the scale of the diagram. Alternatively, press NumPad-.
Actual SizeClick this icon to restore the actual size of the diagram.
Fit ContentClick this icon to make the contents fit into the current diagram size.
Apply Current LayoutClick this icon to apply the current layout, selected from the diagram context menu.
Save diagramClick this icon to save the current diagram in the specified location as xml file.
Export to fileClick this icon to save the diagram in an image file with the specified name and path. The possible formats are: jpeg, png, svg, svgz, or gif.
the Print buttonClick this icon to print the diagram.
Print PreviewClick this icon to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

Context menu

The table below contains commands that are not available from the toolbar.

ItemDescription
NewUse this node to add new elements to a diagram.
DeleteDeletes the selected diagram.
RefactorThis node contains refactoring commands, enabled in the current context.
Jump to SourceChoose this command to open the selected diagram node element in the editor.
Find UsagesChoose this command to search for usages of the selected node element.
LayoutSelect the desired diagram layout from the submenu.
Show Edge LabelsCheck this command to show multiplicities in diagram.
Last modified: 23 April 2021