assert roadMapping != null;
final int radius = (int) ((roadMapping.laneCount() + 2) * roadMapping.laneWidth());
final RoadMapping.PosTheta posTheta;
// draw the road segment sink, if there is one
final TrafficSink sink = roadSegment.sink();
if (sink != null) {
g.setColor(sinkColor);
posTheta = roadMapping.endPos();
g.fillOval((int) posTheta.x - radius / 2, (int) posTheta.y - radius / 2, radius, radius);
String outflowString = "outflow: " + (int) (Units.INVS_TO_INVH * sink.measuredOutflow()) + " veh/h";
g.drawString(outflowString, (int) (posTheta.x) + radius / 2, (int) (posTheta.y) + radius / 2);
}
}
}