diff --git a/src/app/project-map/project-map.component.ts b/src/app/project-map/project-map.component.ts index c02a8c4b..13c7f0be 100644 --- a/src/app/project-map/project-map.component.ts +++ b/src/app/project-map/project-map.component.ts @@ -286,7 +286,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy { const data = drawingLineTool.stop(); this.onLineCreation(data['node'], data['port'], node, port); } else { - drawingLineTool.start(node.x, node.y, { + drawingLineTool.start(node.x + node.width / 2., node.y + node.height / 2., { 'node': node, 'port': port });