D2ElkSpec
CLI configuration options, found from running d2 layout elk in the CLI.
Properties
Link copied to clipboard
Layout algorithm (default ElkAlgorithm.Layered)
Link copied to clipboard
The spacing to be preserved between nodes and edges that are routed next to the node’s layer (default 40)
Link copied to clipboard
The spacing to be preserved between any pair of nodes of two adjacent layers (default 70)
Link copied to clipboard
Spacing to be preserved between a node and its self loops (default 50)