Working with Diagrams
In this part:
Before you start working with UML diagrams, make sure that the UML Support plugin is enabled. The plugin is bundled with PhpStorm and is activated by default. If the plugin is not activated, enable it on the Plugins settings page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
UML model in PhpStorm is represented by a Class diagram in standard notation.
PhpStorm enables using UML class diagrams to analyze PHP applications, and the structure of the databases and tables. Besides that, you can explore changes committed to VCS.
In PhpStorm, Class diagram features:
- Ability to view UML model as a diagram in a separate editor tab, in a pop-up window, or as a preview.
- Ability to invoke UML class diagram from the Project, Structure, Database, Version Control tool windows, the History tab of the Version Control tool window, and Navigation bar.
In the editor, one can view class diagram for the whole class.
- Navigation from a diagram element to the underlying source code.
- Highlighting siblings and children classes.
- Refactorings (Rename, Move, Safe Delete, Inline).
- Navigation to class, file or symbol by name and to the last edit location.
- Viewing class information at the tooltip, and quick documentation lookup.
- Viewing changed classes as a UML Class diagram.
- Quick hierarchy view in a UML Class diagram pop-up window.
- Viewing subtypes and super classes.
- Ability to find usages of a node element or member.