borderElem.setAttribute("fill", border.getColor().toHexString());
labelBorderGroupElem.appendChild(borderElem);
}
public void renderSelfLoop(SelfLoop selfLoop) {
CubicBezierCurve curve = selfLoop.getCurve();
Element selfLoopElem = createElement("path");
selfLoopElem.setAttribute("d", String.format(Locale.ENGLISH, "M %f,%f C %f,%f %f,%f %f,%f",
curve.getPt1().getX(), curve.getPt1().getY(),
curve.getPt2().getX(), curve.getPt2().getY(),
curve.getPt3().getX(), curve.getPt3().getY(),
curve.getPt4().getX(), curve.getPt4().getY()));
selfLoopElem.setAttribute("stroke", selfLoop.getColor().toHexString());
selfLoopElem.setAttribute("stroke-width", Float.toString(selfLoop.getThickness() * selfLoop.getScale() * scaleRatio));
selfLoopElem.setAttribute("fill", "none");
edgeGroupElem.appendChild(selfLoopElem);
}