prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
620 stars 121 forks source link

Addition of Inner Class Relationships in Class Diagrams #489

Closed YovelB closed 1 year ago

YovelB commented 1 year ago

Detailed Description

Currently UML Class Diagrams don't have a proper way to represent Inner classes. Because, UML needs to represent all languages.

Therefore, I suggest a basic relationship that can represents at least two types of inner classes (basic and nested). The addition can be made more subtle by adding it to "edit" toolbar. While, not overpopulating the right side tools. A relationship can be made of a crossed circle with an arrow pointing towards the inner class.

for example: template

Context

This change is important because it can highlight and explain better UML models. I like using nested classes and would like to represent it in my models. Adding another relationships adds more complexity and understanding that needs to be explain to make clear models. Other Java modelers can benefit from it by switching from other UML designers to JetUML. Because it is focused on the Java language features.

prmr commented 1 year ago

An interesting idea, but too specialized a scenario for the general sketching mission of the tool.