View changes as a diagram

Last modified: 15 March 2021

This is a Professional feature: download PyCharm Professional to try.

The Diagram plugin implements the UML diagram. The plugin is bundled by default with PyCharm Professional.

For the modules under version control, you can usually view the list of changed files in the Changes tool window. If you want to evaluate how your changes affect the model, use UML Class diagram. This view presents the complete picture of changes, including relationships between the modified classes.

For this purpose, PyCharm provides the action Show changed classes, which is available from the editor, Project tool window, and the Local Changes view.

Moreover, PyCharm helps you analyze how the changes affect a model across revisions, and provides the action Compare all classes from revision on UML.

Changes in Class diagram are color-coded:

  • Green for added elements.

  • Gray for deleted elements.

  • Blue for modified elements.

umlChangesDiagram.png