Settings
Under the settings
parameter, you have control over all aspects determining the visual presentation of the diagram.
Parameters
Style
Parameter name | Value type | Value |
---|---|---|
style | string | standard , isometric |
The style
parameter dictates the visual aesthetics of the diagram, offering a choice between two distinct styles. The default, "standard," generates a diagram with a conventional layout. Alternatively, the "isometric" style imparts a 3D-like appearance to the diagram.
Example
This example showcases the standard style. It's worth noting that, as the default style, this information can be omitted.
yaml
settings:
style: standard #optional (default value)
networks:
frontend:
nodes: LB
backend:
nodes: [LB, API 1, API 2, Cache]
flows:
HTTP:
from: LB
to: [API 1, API 2]
Redis:
from: [API 1, API 2]
to: Cache
Example
This example showcases the isometric style.
yaml
settings:
style: isometric
networks:
frontend:
nodes: LB
backend:
nodes: [LB, API 1, API 2, Cache]
flows:
HTTP:
from: LB
to: [API 1, API 2]
Redis:
from: [API 1, API 2]
to: Cache