In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
![]() |
![]() |
Scalable Vector GraphicsSVG est un format graphique qui est vectoriel. Cela signifie que si vous zoomez une image, vous avez toujours une bonne qualité d'image. Ce format donne de bon résultat lors de l'impression. Vous pouvez activez la génération SVG à l'aide de l'option-tsvg sur la ligne de commande.
Vous pouvez aussi utiliser format="svg" lors de la définition d'une tâche Ant.
Il est aussi possible de générer du SVG depuis un appel de code Java. |
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. |
Paramètres SkinParameterVous pouvez changer la valeurtarget dans le SVG généré grâce au paramètre svgLinkTarget .
Il y a aussi un paramètre spécifique pour changer la couleur lorsque le pointeur de la souris survole les liens:
*[Ref. [QA-7334](https://forum.plantuml.net/7334)]* WARNING This translation need to be updated. WARNING |
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] |