()
| 323 | |
| 324 | class AppNodeModel extends HtmlResize.model { |
| 325 | refreshDeges() { |
| 326 | // 更新节点连接边的path |
| 327 | this.incoming.edges.forEach((edge: any) => { |
| 328 | // 调用自定义的更新方案 |
| 329 | edge.updatePathByAnchor() |
| 330 | }) |
| 331 | this.outgoing.edges.forEach((edge: any) => { |
| 332 | edge.updatePathByAnchor() |
| 333 | }) |
| 334 | } |
| 335 | set_position(position: { x?: number; y?: number }) { |
| 336 | const { x, y } = position |
| 337 | if (x) { |
no test coverage detected