if (type.isIn(GanttRelationType.FINISH_START, GanttRelationType.START_START) == true) { diagram.appendChild(SVGHelper.createPath(doc, SVGColor.BLACK, 1, SVGColor.BLACK, SVGHelper.drawArrow(ArrowDirection.RIGHT, depX2 - dist, depY2, style.getArrowSize()))); } else { diagram.appendChild(SVGHelper.createPath(doc, SVGColor.BLACK, 1, SVGColor.BLACK, SVGHelper.drawArrow(ArrowDirection.LEFT, depX2 + dist / 2, depY2, style.getArrowSize())));