How to create UML Diagrams in Pycharm Community Edition?
Solution 1
Generating UMLs from class in PyCharm is included by default. Maybe you have disabled them. Go to File -> Settings -> Plugins
and search UML. There should be Python UML
diagrams and UML
which should have bundled keyword written below.
You can right click on class and and choose Diagrams
to generate it.
For example, this class:
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
is represented as this:
For PlantUML
plugin, you don't have to install anything except the plugin itself. When you install it, you can create new PlantUML
file and select default diagram to be generated.
Solution 2
Based on searching online, I think the specific answer to your question is yes, you can only use the integrated UML plugins for Professional Edition. To do it for Community Edition, as Dinko said you would have to use the 3rd party plugin PlantUML.

Prachi
Updated on June 13, 2022Comments
-
Prachi 12 months
Is it that one can you only create class diagrams in Pycharm Professional Edition? I have Pycharm Community Edition 2019.2 and I have installed the
PlantUML plugin
andGraphviz
, also set the environment variables as required but still I cant create the Class diagram. -
Bárbara Duarte over 2 yearsHi. I installed the 3rd party plugin PlantUML. I restart the PyCharm but i still do not have the option "Diagram" when I click in a python script.
-
Bogey Jammer almost 2 yearsNothing like Python UML plugin is bundled with the community edition of PyCharm
-
Dinko Pehar almost 2 yearsYou have to install PlantUML plugin to be able to create UML diagrams.
-
Dinko Pehar almost 2 yearsYeah, the question and my answer are little out of sync. The question states "How to create UML diagrams in Pycharm Community Edition?" and I provided answer how to create it with PyCharm Pro and PyCharm community. However, with PlantUML you can create UML diagrams but only using PlantUML syntax. UMLs are shown in PyCharm, it's only when you edit your Python Class, you must edit also PlantUML file. Unfortunately, there is no option to generate diagram using PlantUML as in PyCharm Pro.
-
Bogey Jammer almost 2 yearsYes I get it but the first part of your answer deals only with the Professional Edition of PyCharm.