Skip to content
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

Class: interface realization / lollipop #1145

Closed
mestaritonttu opened this issue Dec 15, 2019 · 7 comments · Fixed by #3311
Closed

Class: interface realization / lollipop #1145

mestaritonttu opened this issue Dec 15, 2019 · 7 comments · Fixed by #3311

Comments

@mestaritonttu
Copy link

There doesn't seem to be a way to define this currently: https://www.uml-diagrams.org/realization.html

PlantUML calls it lollipop: https://plantuml.com/class-diagram and supports it like this:

bar ()- foo
bar ()-- foo
foo -() bar
@mestaritonttu mestaritonttu added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Dec 15, 2019
@IOrlandoni IOrlandoni added Area: Development Graph: Class Contributor needed Status: Approved Is ready to be worked on and removed Status: Triage Needs to be verified, categorized, etc labels Dec 16, 2019
@jgreywolf
Copy link
Contributor

I will start work on this after January 6th. Unless someone else is interested :)

@ashishjain0512
Copy link
Collaborator

@jgreywolf I think this will be resolved by PR #1171 as that adds supports for dashed lines. After this PR the following relations will be available.

image

@jgreywolf
Copy link
Contributor

I think that resolves part of it. The other part was being able to do something like the following:

image

@jgreywolf jgreywolf self-assigned this Jan 9, 2020
@adamguild
Copy link

@jgreywolf I would be happy to help with that last part, do you have any pointers for me? I am new to the project. Thank you.

@may4everL may4everL mentioned this issue Jun 20, 2022
3 tasks
@may4everL
Copy link
Contributor

@jgreywolf I have made some changes regarding the lollipop interface diagram
I have made an imcomplete PR #3154 : #3154
With the current changes, the lollipop diagram would be generated like:
image

This feature is incomplete, as the classbox surrounding the interface needs to be deleted.

Please let me know if you have any comments, thanks!

@may4everL
Copy link
Contributor

I have update the code according to the changes of the code base
Please refer to the PR #3311
The redundant classbox for this simple interface is not handled yet.

@jgreywolf
Copy link
Contributor

Closing this issue as lolipop funcitonality has been merged. If the other item still needs to be addressed please open a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants