-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for class diagram relationships in PlantUML generation. #166
Comments
I was willing to work on this but was having some doubts, concerto/packages/concerto-tools/lib/codegen/fromcto/plantuml/plantumlvisitor.js Lines 220 to 222 in c2ecad3
As you can see here it uses Also, I was exploring the Accord Project's models repo and found that the same plantumlvisitor.js is used for generating plantUML diagrams that are in html files for models So now when you open a model page (for example open this: https://models.accordproject.org/cicero/runtime.html) So is this issue still open? Correct me if I'm wrong...I may be wrong :) |
I was also having some doubts regarding plantuml generation, I had used But when you will see the plantuml for the same model here https://models.accordproject.org/calendar/calendar.html it will be different (not drastically different but small in size) So why this is done differently? Are they different because we want small-size plantuml on the website and the rest of the things can be included in the Dependencies section? |
@Aniruddha-Shriwant I believe the issue is for relationships ( In Concerto you can have both:
|
Thanks @jeromesimeon, for clearing my doubts I will look into it now :) |
@jeromesimeon is this issue still open . if Yes please assign me this issue . |
Is this issue still open? If yes then please assign it to me. |
@Aaditya-23 done. |
@jeromesimeon thanks for assigning the issue. I had some doubts though. I forked the project concerto repo and cloned it into my pc. But, how do I run the project? Where can I see the plant uml generator? |
Hey @Aniruddha-Shriwant can your help me out👆? |
Is your feature request related to a problem? Please describe.
The current PlantUMLVisitor implementation does not represent
-->
relationships defined in a concerto model.Describe the solution you'd like
PlantUML generated would show class diagram relationships for property references modelled as
-->
as documented here -> Class Diagrams Relationships.Describe alternatives you've considered
When introducing this feature, consider having it be an option that can be passed via
parameters
since these relationships may appear cluttered for more complex models.Additional context
@dselman pointed to this line of code as likely being best place to implement this feature. -> https://github.com/accordproject/concerto/blob/master/packages/concerto-tools/lib/codegen/fromcto/plantuml/plantumlvisitor.js#L220
The text was updated successfully, but these errors were encountered: