subGroup.appendChild(getArrowDefinition(doc, exitCoords.getXLeft(),
exitCoords.getYTop(), activityEntryCoords.getXLeft(),
activityEntryCoords.getYTop(), id, prevActivity, activity));
} else {
// activityEntryCoords = activity.getEntryArrowCoords();
subGroup.appendChild(getArrowDefinition(doc, myStartCoords.getXLeft(),
myStartCoords.getYTop(), activityEntryCoords.getXLeft(),
activityEntryCoords.getYTop(), id, this, activity));
subGroup.appendChild(getArrowDefinition(doc, activityExitCoords.getXLeft(),
activityExitCoords.getYTop(), myExitCoords.getXLeft(),
myExitCoords.getYTop(), id, this, activity));