Property reference
This table is generated from the implementation’s property definitions on each build. Status describes implementation support; a recognized property is not necessarily implemented by every renderer.
| Property | Applies to | Values | Default | Status | Behavior |
|---|---|---|---|---|---|
stroke-pattern | Nodes and edges | solid, dashed, dotted, dash-dot | solid | Rendered | Stroke pattern; dash lengths and gaps scale with stroke width. Dotted and dash-dot patterns use round caps. Marker artwork retains its authored pattern. |
marker-start | Edges | none, stealth, triangle, triangle-outline, arrow, diamond, diamond-outline, circle, circle-outline | bidirectional: stealth; otherwise: none | Rendered | Selects the start marker independently of semantic directionality. |
marker-end | Edges | none, stealth, triangle, triangle-outline, arrow, diamond, diamond-outline, circle, circle-outline | undirected: none; otherwise: stealth | Rendered | Selects the end marker independently of semantic directionality. |
fill | Nodes | Color | #ffffff | Rendered | Node body fill; none and transparent hide the fill. |
stroke | Nodes and edges | Color | #2d3440 | Rendered | Body outline or edge line color; none and transparent hide the stroke. |
stroke-width | Nodes and edges | Non-negative pixels | nodes: 1px; edges: 2px | Rendered | Stroke thickness. |
shape | Nodes | Module-relative SVG URL | Nominal rectangle | Rendered | Selects standalone SVG artwork with url(…), resolved from its owning module root. Library references and custom metadata are pending. |
width | Nodes | Non-negative pixels | SVG intrinsic width; rectangles: 120px | Rendered | Node width in pixels; an SVG scales proportionally within this maximum. |
height | Nodes | Non-negative pixels | SVG intrinsic height; rectangles: 64px | Rendered | Node height in pixels; an SVG scales proportionally within this maximum. |
position | Title blocks | Placement name | Unset | Recognized; rendering pending | Title-block placement intent; title-block rendering is pending. |
label-visible | Nodes and edges | True or False | True | Rendered | Hides or shows an existing label; does not create an edge label. |
font-family | Nodes and edges | Font family name | sans-serif | Rendered | Bundled sans-serif, serif, and monospace; other system families fall back to sans-serif. |
font-size | Nodes and edges | Positive pixels | nodes: 14px; edges: 12px | Rendered | Measured before final geometry using the same font as drawing. |
color | Nodes and edges | Color | #2d3440 | Rendered | Label text color. |
label-position | Nodes | center, top, right, bottom, left, top-left, top-right, bottom-left, bottom-right | center | Rendered | Selects a matching shape label-zone anchor, with best-effort placement when absent. Outside labels overlay terminal edge segments; attachments remain on the node body. |
label-gap | Outside node labels | Non-negative pixels | 6px | Rendered | Best-effort placement gap after terminal-marker clearance and before the label backing. Authored label-zone anchors use their exact locations. |
label-padding | Outside node labels | Non-negative pixels | 2px | Rendered | Opaque backing padding around measured text. |
label-background | Outside node labels and container captions | Color; outside node labels require opaque colors | Outside node labels: white; container captions: transparent | Rendered | Container captions have no backing by default and honor explicit color and alpha. Outside node labels cover edges; transparent, translucent, and invalid colors fall back to opaque white. |
Outside node labels retain their requested side and are drawn over edges with an opaque background. Outside labels do not change terminal routing. Geometry reserves marker clearance per node side, plus label-gap, using resolved marker sizes. The optional minimum clearance defaults to 0px. Markers inherit edge stroke color and scale with stroke width. Their node-contact points stay on node boundaries; visible strokes meet their rear attachments without changing routed topology.