-tsvg
flag with the command line. You can also use format="svg"
in the Ant task definition.
<target name="main">
<plantuml dir="./src" format="svg" />
</target>
target
value in the generated SVG with the svgLinkTarget
setting. According to the HTML specification, you can choose: _blank
_parent
_self
_top
(by default, if svgLinkTarget
is empty)
@startuml
skinparam svgLinkTarget _parent
start
:[[http://plantuml.com]];
stop
@enduml
skinparam pathHoverColor
to specify a color change when the mouse pointer goes hover some links.
@startuml
skinparam pathHoverColor green
class Foo2 [[http://www.yahoo.com/Foo2]] {
+double[] x
+double y
}
Foo2 --> Foo3
@enduml
[Ref. QA-5453]
style
, width
and height
on the header of the SVG output, you can set skinparam svgDimensionStyle false
.
@startuml
skinparam svgDimensionStyle false
component a {
}
component b {
}
a -(0- b
@enduml
[Ref. QA-7334]
!pragma svgSize <U+hhhhh> XX
tells to PlantUML: "assume that the size of <U+hhhhh> is the same as 'XX' " You can play with this directive: !pragma svgSize <U+hhhhh> XX
!pragma svgSize <U+hhhhh> I
@startuml
!pragma svgSize <U+1F610> XX
test: text <U+1F610>
test_size45: text <size:45><U+1F610>
@enduml