NodeGraphPortVisualProps
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:7
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:30
color?
Section titled “color?”
optionalcolor?:string
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:19
Stroke / fill colour. Defaults to currentColor so the parent
<NodeGraph.Port> can route its colour prop and interaction-state
colours (source / candidate / invalid) into the shape via the CSS
color cascade. Pass an explicit colour when using the visual
standalone (outside a port slot).
filled?
Section titled “filled?”
optionalfilled?:boolean
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:25
Filled (true) paints the interior; hollow (false) draws an outline
only — the standard “wired vs unwired pin” convention.
Default
Section titled “Default”falseshape?
Section titled “shape?”
optionalshape?:NodeGraphPortShape
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:11
Handle shape.
Default
Section titled “Default”'circle'
optionalsize?:number
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:29
Box size in CSS pixels.
Default
Section titled “Default”14style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:31