Diagram Options

BlockDiag

Applies to blockdiag, seqdiag, actdiag, nwdiag, packetdiag and rackdiag:

Name Allowable Values Description

antialias

boolean
true, false

Pass diagram image to anti-alias filter

no-transparency

boolean
true, false

Do not make transparent background of diagram (PNG only)

size

dimension format {width}x{height}
ex. 320x240

Size of diagram

no-doctype

boolean
true, false

Do not output doctype definition tags (SVG only)

GraphViz

Name Allowable Values Description

graph-attribute-{name}

any
true

Set a graph attribute: graphviz.org/doc/info/command.html#-G

node-attribute-{name}

any
true

Set a default node attribute: graphviz.org/doc/info/command.html#-N

edge-attribute-{name}

any
true

Set a default edge attribute: graphviz.org/doc/info/command.html#-E

layout

dot
neato
fdp
sfdp
twopi
circo

Specifies which default layout algorithm to use, overriding the default from the command name: graphviz.org/doc/info/command.html#-K

scale

double
72.0

Set input scale to scale. If this value is omitted, 72.0 is used. This number is used to convert the point coordinate units used in the pos attribute into inches, which is what is expected by neato and fdp: graphviz.org/doc/info/command.html#-s

PlantUML

Name Allowable Values Description

theme

string

  • amiga

  • black-knight

  • bluegray

  • blueprint

  • cerulean-outline

  • cerulean

  • crt-amber

  • crt-green

  • cyborg-outline

  • cyborg

  • hacker

  • hacker-hold

  • lightgray

  • materia-outline

  • materia

  • metal

  • mimeograph

  • minty

  • plain

  • resume-light

  • sandstone

  • silver

  • sketchy-outline

  • sketchy

  • spacelab

  • superhero-outline

  • superhero

  • united

Use a specific theme (it will prepend the !theme directive in your diagram)

Structurizr

Name Allowable Values Description

view-key

string

Key of the view (if the workspace contains more than one view)

Svgbob

Name Allowable Values Description

background

any
white

Backdrop background will be filled with this color

font-family

any
arial

Text will be rendered with this font

font-size

integer
14

Text will be rendered with this font size

fill-color

any
black

Solid shapes will be filled with this color

scale

any
1

Scale the entire svg (dimensions, font size, stroke width) by this factor

stroke-width

any
2

Stroke width for all lines