-
-
Notifications
You must be signed in to change notification settings - Fork 909
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
pipemap only works if an href is provided #1429
Comments
tagging @simonbrowndotje because one this is fixed, it would be an amazing feature for the plantUML exporters |
This may be fixed in last snapshot. Tell us if it's not working for you, thanks |
Nop, not working. Tried it with @startuml
component foo1 as "My comp"
component foo2 as "My comp2"
foo1 -> foo2
@enduml and the result was
|
Ok, I did not get your need initially. So you would like that:
generates:
It that right? |
almost :) the map needs the However, and maybe this is a feature request, I'd like to be able to set it somehow (an attribute?) Usecase: to expand acronyms on mouseover. Usually compononents are shortened by acronyms because otherwise they take too much space in the drawing, and it is how engineers call them. New engineers can just roll the mouse on and get the expanded name. I changed the output of this example: @startuml
component foo1 as "My comp" [[My_component_1]]
component foo2 as "My comp2" [[My_component_2]]
foo1 -> foo2
@enduml to match:
where I removed the A webpage could then be (I couldn't attach it, github didn't allow me) <!DOCTYPE html>
<html>
<head>
<title>Example HTML Page</title>
</head>
<body>
<img src="foo.png" usemap="#plantuml_map">
<map id="plantuml_map" name="plantuml_map">
<area shape="rect" id="id1" title="My component #1" alt="" coords="7,7,109,53"/>
<area shape="rect" id="id2" title="My component #2" alt="" coords="144,7,255,53"/>
</map>
</body>
</html> |
Describe the bug
Currently, I am forced to provide a link to a component in order to get an image map file.
Sometimes I don't need a link, just the
title
explanatory text.To Reproduce
given foo.text:
then
cat foo.txt | java -jar plantuml.jar -pipemap
I get
now remove
[[pepe]]
run the same command, and the map is not generated
Expected behavior
the map is generated
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: