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