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

Method insertAfter

packages/shell/src/model/node.ts:551–561  ·  view source on GitHub ↗

* 在指定位置之后插入一个节点 * @param node * @param ref * @param useMutator

(
      node: IPublicModelNode,
      ref?: IPublicModelNode | undefined,
      useMutator?: boolean,
    )

Source from the content-addressed store, hash-verified

549 * @param useMutator
550 */
551 insertAfter(
552 node: IPublicModelNode,
553 ref?: IPublicModelNode | undefined,
554 useMutator?: boolean,
555 ): void {
556 this[nodeSymbol].insertAfter(
557 (node as any)[nodeSymbol] || node,
558 (ref as any)?.[nodeSymbol],
559 useMutator,
560 );
561 }
562
563 /**
564 * 替换指定节点

Callers

nothing calls this directly

Calls 1

insertAfterMethod · 0.65

Tested by

no test coverage detected