Using scale breaks URL

+1 vote
asked Oct 4, 2013 in Bug by mbucc (300 points)

Hi,

I know URL is not supported yet. But it's pretty useful already. :)

A note that if you use the scale command, the link in the image map doesn't move. For example, if you render this UML:

scale 200 height

actor "Employee" as EMP

[Tomcat] as APP

[Oracle] as DB

EMP -- APP

APP -- DB

url of APP is [[http://tomcat.apache.org/]]

 

then the clickable area in the PNG is rendered a little above where the Oracle box is.

 

Mark

commented Oct 23, 2013 by valexiev (960 points)
What sort of diagram is this? I tried it and plantuml said "Syntax error?" after:
actor "Employee" as EMP
commented Oct 23, 2013 by plantuml (211,860 points)
This may be related to your version of PlantUML. Which one are you using ?
You can test it with:
@startuml
version
@enduml

With last version, this seems to work fine:
http://www.plantuml.com/plantuml/form?url=7Oon2iCm34HtVuN8dZXqx9RIZAKPkXaFGYXnm476LeV-VMqF1_VkZYk4aU4spn3uF88Q99KCmtgbA3_c0R30-jgC-yX5gBxnibL-PwJ8dPyFKoSmZhsfQhQ6tnn1zXR2MS2ve9hkrcf_cZ0X1Pua7zRxFm00
commented Oct 24, 2013 by valexiev (960 points)
It's my mistake, but I posted this enhancement request: http://plantuml.sourceforge.net/qa/?qa=1347/options-should-be-permissive

1 Answer

0 votes
answered Oct 4, 2013 by plantuml (211,860 points)
selected Oct 4, 2013 by mbucc
 
Best answer

Thanks for the report, this has been fixed in the following beta:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

URL will be officially released some days, so you can use it safely.

Regards,
 

...