Python Forum
Generating classes diagram from source code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating classes diagram from source code
#1
Hello,
In this link they propose a method of generating architecture of Python program from source code (using PyCharm):
PyCharm as a Python IDE for Generating UML Diagrams
In the 1st screenshot they show "Diagram" option in the context menu of python file.
In my version PyCharm I don't see this option.
Any comments ?
Thanks.
Reply
#2
Please note the date on that link July 2015, 7 years ago, could well be why you can't find the option
Reply
#3
Appears to require a plugin (bundled)

https://www.jetbrains.com/help/pycharm/c...agram.html

To view the class diagram

Quote:View UML class diagram
In the Project tool window, right-click an item for which you want to create a diagram and select Diagrams | Show Diagram Ctrl+Alt+Shift+U).

In the list that opens, select Python Class Diagram. PyCharm generates a UML diagram for classes and their dependencies.
Reply
#4
From the article
Quote:Note that only the professional version of PyCharm (available for free to students) will do this, as far as I can tell.
Say what you will about Sisyphus. He always has work.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Algorithm for extracting comments from Python source code Pavel1982 7 2,688 Aug-28-2024, 02:50 AM
Last Post: timothyferriss
  TypeError: Diagram.render() takes 1 positional argument but 2 were given sachin1361 0 1,137 Apr-23-2024, 06:39 AM
Last Post: sachin1361
  delivery exe without source code py loky62 2 1,116 Apr-04-2024, 05:47 PM
Last Post: loky62
  Better python library to create ER Diagram by using pandas data frames as tables klllmmm 0 2,974 Oct-19-2023, 01:01 PM
Last Post: klllmmm
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 19,017 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  No Module found in other directory than source code [SOLVED] AlphaInc 1 3,139 Nov-10-2021, 04:34 PM
Last Post: AlphaInc
  How do I open the Source code of a library? JaneTan 1 3,138 Aug-18-2021, 02:12 AM
Last Post: Larz60+
  Plotting “simple” diagram with gridlines at specified intervals schniefen 1 3,109 Dec-03-2020, 05:54 PM
Last Post: schniefen
  Block diagram library marcocod 7 9,196 Nov-13-2020, 11:04 AM
Last Post: marcocod
  Compiling Python 3.8.5 source code results in build error Deepan 0 2,700 Sep-14-2020, 04:11 AM
Last Post: Deepan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020