import { EdgePrimitive } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
idreq | string | — | Unique edge identifier |
x1req | number | — | Start X coordinate |
y1req | number | — | Start Y coordinate |
x2req | number | — | End X coordinate |
y2req | number | — | End Y coordinate |
weight | "thin" | "medium" | "thick" | "thin" | Line thickness |
type | "solid" | "dashed" | "animated" | "solid" | Line style |
direction | "none" | "forward" | "backward" | "bidirectional" | "none" | Arrow direction |
idrequiredType
stringDefault —Unique edge identifier
x1requiredType
numberDefault —Start X coordinate
y1requiredType
numberDefault —Start Y coordinate
x2requiredType
numberDefault —End X coordinate
y2requiredType
numberDefault —End Y coordinate
weightType
"thin" | "medium" | "thick"Default "thin"Line thickness
typeType
"solid" | "dashed" | "animated"Default "solid"Line style
directionType
"none" | "forward" | "backward" | "bidirectional"Default "none"Arrow direction
MobileWorks As-Is
SVG path renders in its parent container. Pan/zoom on mobile requires explicit touch handling by the parent graph component.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?