MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / insert

Method insert

packages/designer/src/document/node/node.ts:1125–1127  ·  view source on GitHub ↗
(node: INode, ref?: INode, useMutator = true)

Source from the content-addressed store, hash-verified

1123 }
1124
1125 insert(node: INode, ref?: INode, useMutator = true) {
1126 this.insertAfter(node, ref, useMutator);
1127 }
1128
1129 insertBefore(node: INode, ref?: INode, useMutator = true) {
1130 const nodeInstance = ensureNode(node, this.document);

Callers

nothing calls this directly

Calls 1

insertAfterMethod · 0.95

Tested by

no test coverage detected