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
  delivery exe without source code py loky62 2 317 Apr-04-2024, 05:47 PM
Last Post: loky62
  Algorithm for extracting comments from Python source code Pavel1982 6 511 Feb-28-2024, 09:52 PM
Last Post: Pavel1982
  Better python library to create ER Diagram by using pandas data frames as tables klllmmm 0 1,097 Oct-19-2023, 01:01 PM
Last Post: klllmmm
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,649 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  No Module found in other directory than source code [SOLVED] AlphaInc 1 2,041 Nov-10-2021, 04:34 PM
Last Post: AlphaInc
  How do I open the Source code of a library? JaneTan 1 2,261 Aug-18-2021, 02:12 AM
Last Post: Larz60+
  Plotting “simple” diagram with gridlines at specified intervals schniefen 1 2,407 Dec-03-2020, 05:54 PM
Last Post: schniefen
  Block diagram library marcocod 7 6,185 Nov-13-2020, 11:04 AM
Last Post: marcocod
  Compiling Python 3.8.5 source code results in build error Deepan 0 2,175 Sep-14-2020, 04:11 AM
Last Post: Deepan
  If Python 2.x source code and applies a transform it into valid Python 3.x code. vivekm 1 2,158 May-20-2019, 05:12 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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