Skip to content

Commit 689f0da

Browse files
authored
Documentation: clarify use of diagram options that act as flags (#1469)
1 parent 1a8a07b commit 689f0da

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

docs/modules/setup/pages/diagram-options.adoc

+13-10
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,27 @@ Applies to `blockdiag`, `seqdiag`, `actdiag`, `nwdiag`, `packetdiag` and `rackdi
1111
|Description
1212

1313
|antialias
14-
|_boolean_ +
15-
`true`, *`false`*
16-
|Pass diagram image to anti-alias filter
14+
|_flag_ +
15+
empty string ("")
16+
|Apply anti-alias filter to diagram image +
17+
With flag set, option takes effect.
1718

1819
|no-transparency
19-
|_boolean_ +
20-
*`true`*, `false`
21-
|Do not make transparent background of diagram (PNG only)
20+
|_flag_ +
21+
empty string ("")
22+
|Disable transparent background of diagram (PNG only) +
23+
With flag set, option takes effect.
2224

2325
|size
2426
|_dimension format \{width}x\{height}_ +
2527
ex. `320x240`
2628
|Size of diagram
2729

2830
|no-doctype
29-
|_boolean_ +
30-
`true`, *`false`*
31-
|Do not output doctype definition tags (SVG only)
31+
|_flag_ +
32+
empty string ("")
33+
|Omit doctype definition tag (SVG only) +
34+
With flag set, option takes effect.
3235
|===
3336

3437
== D2
@@ -83,7 +86,7 @@ ex. `320x240`
8386
|Set a default edge attribute: https://graphviz.org/doc/info/command.html#-E
8487

8588
|layout
86-
|
89+
|_string_ +
8790
*`dot`* +
8891
`neato` +
8992
`fdp` +

0 commit comments

Comments
 (0)