Structurizr Render Options¶
Options passed to StructurizrRenderer or set on a workspace. See Styles.
c4.contrib.structurizr.renderer.StructurizrRenderOptions
dataclass
¶
Render options for the Structurizr renderer.
Attributes:
| Name | Type | Description |
|---|---|---|
auto_layout |
AutoLayout | None
|
Automatic layout settings emitted in generated views.
Set to |
style_preset |
StructurizrStylePreset | None
|
Named style preset to emit, or |
c4.contrib.structurizr.AutoLayout
dataclass
¶
Structurizr automatic layout settings.
Defaults to left-to-right ranking. implementation, rank_separation
and node_separation are optional and omitted from the DSL when unset.
Attributes:
| Name | Type | Description |
|---|---|---|
rank_direction |
StructurizrRankDirection
|
Direction in which the layout ranks elements. |
implementation |
str | None
|
Optional Structurizr layout implementation name. |
rank_separation |
int | None
|
Optional positive gap between ranks. |
node_separation |
int | None
|
Optional positive gap between nodes. |