Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add enhancement to support new hyperlink syntax in sequence diagrams. #24

Closed
jparker324 opened this issue Mar 29, 2017 · 1 comment
Closed
Assignees

Comments

@jparker324
Copy link

See http://plantuml.com/link

@startuml
actor Bob [[http://plantuml.com/sequence]]
actor "This is [[http://plantuml.com/sequence Alice]] actor" as Alice
Bob -> Alice [[http://plantuml.com/start]] : hello
note left [[http://plantuml.com/start]]
a note with a link
end note
Alice -> Bob : hello with [[http://plantuml.com/start{Tooltip for message} some link]]
note right [[http://plantuml.com/start]] : another note
note left of Bob
You can use [[http://plantuml.com/start links in notes]] also.
end note
@enduml

@hallvard
Copy link
Owner

hallvard commented Apr 4, 2017

Good idea! Apparently, there is support image maps: "The API is not really good but you can have
location/size/link of element calling the following method of SourceStringReader.java :
getCMapData(int numImage, FileFormatOption)
Set the first argument to 0 and the second to new FileFormatOption(FileFormat.PNG)
This method returns a String you will have to parse, with all data inside.
Tell me if you have some issues and if I can improve this."

Will be supported in next release. The only issue was the cursor, currently the hand is used for panning, but with hyperlink support, it makes more sense to use the hand to indicate a link. Hence, I'll use the ordinary pointer for panning (unless there are other good suggestions).

hallvard added a commit that referenced this issue Apr 5, 2017
@hallvard hallvard closed this as completed Apr 5, 2017
@hallvard hallvard self-assigned this Apr 6, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants