()
| 16 | } |
| 17 | class LoopBodyModel extends AppNodeModel { |
| 18 | refreshBranch() { |
| 19 | // 更新节点连接边的path |
| 20 | this.incoming.edges.forEach((edge: any) => { |
| 21 | // 调用自定义的更新方案 |
| 22 | edge.updatePathByAnchor() |
| 23 | }) |
| 24 | this.outgoing.edges.forEach((edge: any) => { |
| 25 | edge.updatePathByAnchor() |
| 26 | }) |
| 27 | } |
| 28 | getDefaultAnchor() { |
| 29 | const { id, x, y, width, height } = this |
| 30 | const showNode = this.properties.showNode === undefined ? true : this.properties.showNode |
nothing calls this directly
no test coverage detected