Import Isometric Diagram and compose its parts.
isometric-diagram-illustration-01.tsx
IsometricDiagramIllustration01
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ground | "background""card""muted""popover" | — | The surface under the scene. The opaque faces (pillar tops, ridges, balls) mix the line color into it, so they must match it: card on a Card, popover in a Popover. |
| cells | number | 10 | Cells per side of the floor. |
| cell | number | 26 | The size of one grid cell in px. |
| amplitude | number | 64 | Room above the floor in px, for the tallest node and its label. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
IsometricDiagramIllustration01Canvas
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
IsometricDiagramIllustration01Node
<svg>| Prop | Type | Default | Description |
|---|---|---|---|
| x | number | — | |
| y | number | — | |
| z | number | 0 | |
| ink | "faint""firm""grid""soft""solid""strong" | — | The edge line. Default soft. |
| weight | "bold""hair""heavy""regular""thin" | — | |
| face | "ground""ink""shade""side""top" | — | The fill of the top. Default top; the sides stay side and shade, so the light reads. |
| top | Ref<SVGPathElement> | — | The top face path, for a scene that changes its fill (paint.face). |
| id | string | — | The id that links use (from, to). |
| width | number | ISOMETRIC_DIAGRAM_NODE.width | The size along x in cells. Default 2. |
| depth | number | ISOMETRIC_DIAGRAM_NODE.depth | The size along y in cells. Default 2. |
| height | number | ISOMETRIC_DIAGRAM_NODE.height | The height in cells. Default 1. |
| children | ReactNode | — | The label over the node. |
| ...props | <svg> attributes | — | Every other attribute goes to the <svg>, with a ref. |
IsometricDiagramIllustration01Link
<path>| Prop | Type | Default | Description |
|---|---|---|---|
| from | string | — | The id of the node the link starts at. |
| to | string | — | The id of the node the link ends at, with the arrow. |
| ink | "faint""firm""grid""soft""solid""strong" | "firm" | Default firm. |
| weight | "bold""hair""heavy""regular""thin" | "regular" | |
| ...props | <path> attributes | — | Every other attribute goes to the <path>, with a ref. |









