Skip to content
Entangle UI v0.13.0

DuplicateNodesOptions

Defined in: src/components/editor/NodeGraph/nodeGraphActions.ts:31

optional idFactory?: (sourceId) => string

Defined in: src/components/editor/NodeGraph/nodeGraphActions.ts:41

Build the id for a clone from its source id. Defaults to a unique id derived from ${sourceId}-copy. Override to keep your own id scheme.

string

string


optional offset?: Point2D

Defined in: src/components/editor/NodeGraph/nodeGraphActions.ts:36

World-unit offset applied to each clone so it doesn’t sit exactly on top of its source.

{ x: 32, y: 32 }