Viewing Class Hierarchy as a Class Diagram
PyCharm helps you view the complete hierarchy of the selected type.
So doing, you can modify the contents of the UML Class diagram, to show ancestor or descendant classes, types used in method signatures, and perform all actions that are available for UML Class diagrams.
To view class hierarchy as a UML Class diagram
- Open the desired class in the editor, and place the caret at the type you want to see hierarchy for.
- Do one of the following:
- On the context menu, point to , and then choose , or
- Press Ctrl+Shift+Alt+U or Ctrl+Alt+U