In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
Scalable Vector GraphicsSVG is a graphical format which is scalable. It means that when you zoom an image, you don't lose quality. So this format gives good printing result. You can enable SVG generation by using-tsvg flag with the command line.
You can also use format="svg" in the Ant task definition.
You can also generate SVG directly from Java. | ||
Specific SkinParameter for SVGsvgLinkTargetYou can change thetarget value in the generated SVG with the svgLinkTarget setting.
According to the HTML specification, you can choose:
pathHoverColorThere is also a settingskinparam pathHoverColor to specify a color change when the mouse pointer goes hover some links.
[Ref. QA-5453] svgDimensionStyleIf you does not want to have the attributstyle , width and height on the header of the SVG output, you can set skinparam svgDimensionStyle false .
[Ref. QA-7334] | ||
Specific Pragma for SVGsvgSizeThis directive!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:
[Ref. QA-12550] | ||