Opened 7 years ago
Last modified 4 years ago
#4586 new enhancement
enhancement: show class diagram in OMEdit
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
Basically a duplicate of this SO question:
https://stackoverflow.com/questions/20607206/modelica-class-diagrams
When reading code with many levels of inheritance, it would be very helpful to see a class diagram, so that it is immediately clear what parameters, variables etc were added where.
Is such a functionality available already? Maybe using some script?
It would be nice to be able to just see such a diagram with a single click from OMEdit.
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
I very strongly support this.
For some reason, this feature was never implemented in Dymola, though I think it would be extremely valuable to improve the understaning of libraries that use inheritance heavily, such as Modelica.Media and Modelica.Fluid.
comment:3 by , 4 years ago
Another related SO question:
https://stackoverflow.com/questions/62118653/how-to-show-the-hierarchy-of-a-modelica-library
Answer by Dag B showing an example based on GraphViz
In a second step, the diagram could be interactive, e.g. allow to navigate to a class or similar.