drawTask(name, x, y, width, height);
g.drawImage(BUSINESS_RULE_TASK_IMAGE, x + 7, y + 7, ICON_SIZE, ICON_SIZE, null);
}
public void drawExpandedSubProcess(String name, int x, int y, int width, int height, Boolean isTriggeredByEvent) {
RoundRectangle2D rect = new RoundRectangle2D.Double(x, y, width, height, 20, 20);
// Use different stroke (dashed)
if(isTriggeredByEvent) {
Stroke originalStroke = g.getStroke();
g.setStroke(EVENT_SUBPROCESS_STROKE);