MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / setHeight

Method setHeight

ui/src/workflow/nodes/loop-body-node/index.ts:42–52  ·  view source on GitHub ↗
(height: number)

Source from the content-addressed store, hash-verified

40 return anchors
41 }
42 setHeight(height: number) {
43 this.properties['height'] = height
44 this.outgoing.edges.forEach((edge: any) => {
45 // 调用自定义的更新方案
46 edge.updatePathByAnchor()
47 })
48 this.incoming.edges.forEach((edge: any) => {
49 // 调用自定义的更新方案
50 edge.updatePathByAnchor()
51 })
52 }
53}
54export default {
55 type: 'loop-body-node',

Callers

nothing calls this directly

Calls 1

updatePathByAnchorMethod · 0.45

Tested by

no test coverage detected