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

Method node

packages/shell/src/model/selection.ts:27–30  ·  view source on GitHub ↗

* return selected Node instance

()

Source from the content-addressed store, hash-verified

25 * return selected Node instance
26 */
27 get node(): IPublicModelNode | null {
28 const nodes = this.getNodes();
29 return nodes && nodes.length > 0 ? nodes[0] : null;
30 }
31
32 /**
33 * 选中指定节点(覆盖方式)

Callers

nothing calls this directly

Calls 1

getNodesMethod · 0.95

Tested by

no test coverage detected