MCPcopy
hub / github.com/alibaba/lowcode-engine / getZLevelTop

Method getZLevelTop

packages/designer/src/document/node/node.ts:1006–1008  ·  view source on GitHub ↗

* 获取特定深度的父亲节点

(zLevel: number)

Source from the content-addressed store, hash-verified

1004 * 获取特定深度的父亲节点
1005 */
1006 getZLevelTop(zLevel: number): INode | null {
1007 return getZLevelTop(this, zLevel);
1008 }
1009
1010 /**
1011 * 判断与其它节点的位置关系

Callers 1

node.add.test.tsFile · 0.80

Calls 1

getZLevelTopFunction · 0.85

Tested by

no test coverage detected