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
and Graphviz
, also set the environment variables as required but still I cant create the Class diagram.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With