Color branchPointColor = Color.BLACK;
double branchPointRadius = 0.5;
double degenerateLineLength = 0.8;
-
+
Color lineColor = cv != null ? cv.toColor() : null;
if (lineColor == null)
lineColor = Color.DARK_GRAY;
if (lineStroke == null)
lineStroke = new BasicStroke(0.1f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL, 10, null, 0);
Stroke routeLineStroke = GeometryUtils.scaleStrokeWidth(lineStroke, 2);
+ double rounding = cv.rounding == null ? 0.0 : cv.rounding;
return new BasicConnectionStyle(
lineColor,
branchPointRadius,
lineStroke,
routeLineStroke,
- degenerateLineLength);
+ degenerateLineLength,
+ rounding);
}
public static void scheduleSynchronize(Session session, Resource connection, RouteGraphChangeEvent event) {