Skip to main content

Style Ditaa

Ditaa supports shape tags, color tags, dashed lines, and renderer options.

Start with the general presentation settings. They control the canvas background, padding, and frame for every diagram.

Source controlsโ€‹

  • Add a six-character color tag such as {cBLU} inside a shape.
  • Use shape tags such as {d} for a document.
  • Use the Ditaa line characters to control corners and connectors.

Renderer optionsโ€‹

OptionValuesPurpose
no-antialiasFlagTurn off anti-aliasing.
no-separationFlagDo not separate common shape edges.
round-cornersFlagUse round corners.
scaleNumber; default is 1.0Scale the diagram.
no-shadowsFlagTurn off shadows.
tabsNumberSet the tab width.
backgroundSix hexadecimal digits, for example FFFFFFSet the image background.
transparentFlagUse a transparent background.