Skip to content

Hyperlink element node to another diagram #119

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

Closed
lwalker-kforce opened this issue Feb 8, 2021 · 3 comments · Fixed by #135
Closed

Hyperlink element node to another diagram #119

lwalker-kforce opened this issue Feb 8, 2021 · 3 comments · Fixed by #135
Labels
stale Issue has not been active for 60 days

Comments

@lwalker-kforce
Copy link

lwalker-kforce commented Feb 8, 2021

Is it possible to wrap an element (e.g. System_Boundary(...)) to another location via hyperlink.

For example, to another diagram where the system is broken down into container or components?

I typically put my context diagram in a file mycontext.pml and would like to hyperlink the generated system shape (mycontainer.pml) such that when a user clicks on it, they are taken to the container diagram for that system, and so on.

Simply put, I would like to link my diagrams. I can wrap the entire generated diagram in a hyperlink however I would like to get more to a node level, almost akin to an image map maybe.

@adrianvlupu
Copy link
Member

Hi,

Yes you can link elements, but it depends what is the export format of the diagram. If it's svg you can simply add the url after the boundary

Enterprise_Boundary(c0, "Widgets Limited") [[http://google.com]] {
    Person(csa, "Customer Service Agent", "Deals with customer enquiries.")

or after the node

System_Ext(mail_system, "E-mail system", "The internal Microsoft Exchange e-mail system.") [[http://google.com]]

kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Mar 19, 2021
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Mar 19, 2021
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Mar 19, 2021
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Mar 19, 2021
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Mar 19, 2021
@stale
Copy link

stale bot commented Apr 10, 2021

This issue has been automatically marked as stale because it has not had activity in the past 60 days. It will be closed in seven days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not been active for 60 days label Apr 10, 2021
Potherca added a commit that referenced this issue Apr 11, 2021
#119, #72: All elements and relationships can support hyperlinks (based on #126)
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Apr 28, 2021
…- image with links is added as svg (fix merge in extended)
@huyz
Copy link

huyz commented Mar 25, 2022

Anyone know how to make a link open in a new browser tab?

@Potherca Potherca moved this to Todo in All Projects Jul 3, 2022
@Potherca Potherca moved this from Todo to Done in All Projects Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not been active for 60 days
Projects
Status: Done
3 participants