-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
new feature request - html links and tooltips #28
Comments
So for example:
? I could do that quite easily I think. |
Yes, that could be syntax for example. But more suitable might be that link are "hidden" to text.. Also A and B could be links as well.. |
+1 One syntax could be: A -> B: Some text [www.text-links-to.com] # Comment text in tool tip Thanks for this awesome tool. |
If implementing this, it should be great if we can bind more than just a link. For example not opening a url, but executing some javascript (to show a lightbox or something like that). |
+1 |
Should it be then extended to actually custom attr's? (http://raphaeljs.com/reference.html#Element.attr) so syntax for links would be:
that way we will cover colors and more, so i was thinking that we can extend that to all of the elements: |
I second @smeijer's opinion, it would be very nice to enter custom HTML or JavaScript. |
well, you could put javascript in href, in SVG it would translate to anchor tag essentially, where you can add javascript like so: href="javascript:alert("hello") html would be tricky, since output is SVG, it has its own markup (http://www.w3.org/TR/SVG/) |
@winfinit |
i have implementation that takes advantage or svg parameters, however implementation is hacky... (i didn't modify lexer), so i can work on a proper implementation if we can agree that we can try to match DOTs implementation of attributes: Title: Foo Bar [href="http://example.com", fill="red"]
Participant A [href="http://example.com", fill="red"]
A->B: Login [href="http://example.com", fill="red"]
Note right of B: foo bar [href="http://example.com", fill="red"] |
pull request was submitted for this issue: #74 |
It would be great if there can be links in entities, messages and also tooltips for them.
The text was updated successfully, but these errors were encountered: