Skip to main content

Style BlockDiag

BlockDiag supports diagram attributes and per-node or per-edge attributes.

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

Source controlsโ€‹

  • Set orientation and default attributes in the diagram block.
  • Set colors, shapes, fonts, and sizes in node attributes.
  • Set line and label properties in edge attributes.

Renderer optionsโ€‹

OptionValuesPurpose
antialiasFlagApply the anti-alias filter.
sizewidthxheightSet the image size.
no-doctypeFlagRemove the document type declaration from SVG output.