PhpStorm 2016.3 Help

General Techniques of Using Diagrams

In this section:

To select elements in diagram

  • To select an element, just click it in diagram.
  • To select multiple adjacent elements, keep Shift pressed and click the desired elements, or just drag a lasso around the elements to be selected.
  • To select multiple non-adjacent elements, keep Ctrl+Shift pressed and click the desired elements.
  • To select a member of a node element, double-click the node element, and then use the arrow keys, or the mouse pointer.

To manage diagram layout

  • Right-click the diagram background, and choose Layout command of the diagram context menu. Next, select the desired layout from the submenu.
  • Use Drag-and-drop technique to lay out entities in diagram manually.
  • Apply the current layout selected on the context menu of the diagram, by clicking /help/img/idea/2016.3/erDiagramIconApplyLayout.png.

To zoom in and out, do one of the following

  • Use the erDiagramIconZoomIn.png and erDiagramIconZoomOut.png toolbar buttons.
  • Keeping Ctrl key pressed, rotate your mouse wheel up or down.
  • Press NumPad+ or NumPad-.

To use the magnifier tool

  • Keep the Alt key pressed, and hover your mouse pointer over the most interesting, or problematic areas of the diagram.
    Magnifier tool

To jump from an element in diagram to the underlying source code

  1. Select an element in diagram.
  2. Do one of the following:
    • On the context menu of the diagram, choose Jump to Source
    • Press F4.
    • Double-click selected element.

    The source code of the corresponding source file opens in a separate tab in the editor.

See Also

Last modified: 23 March 2017