DuplicateNodesOptions
Defined in: src/components/editor/NodeGraph/nodeGraphActions.ts:31
Properties
idFactory()?
optionalidFactory: (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.
Parameters
sourceId
string
Returns
string
offset?
optionaloffset: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.
Default
{ x: 32, y: 32 }