<BUG>edge = new Line((int) Math.round(getCenterX(from)),(int) Math.round(getCenterY(from)),(int) Math.round(getCenterX(to)),(int) Math.round(getCenterY(to)));</BUG><CONTEXT>arrowheadRight = new Line(0, 0, 0, 0);parent.add(arrowheadRight);updateArrowhead();}private void addEdge(VGraphComponent parent) {<extra_id_0>parent.add(edge);</CONTEXT>
[DELETED]