Skip to content
Entangle UI v0.13.0

NodeGraphPortVisualProps

Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:7

optional className?: string

Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:30


optional color?: 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).


optional filled?: 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.

false

optional shape?: NodeGraphPortShape

Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:11

Handle shape.

'circle'

optional size?: number

Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:29

Box size in CSS pixels.

14

optional style?: CSSProperties

Defined in: src/components/editor/NodeGraph/NodeGraphPortVisual.tsx:31