}
} */
//pls use a function to find the closest activity to the flow start
//as well as the closest activity to the flow end;
SVGCoordinates myStartCoords = getStartIconExitArrowCoords();
SVGCoordinates myExitCoords = getEndIconEntryArrowCoords();
subGroup.appendChild(getArrowDefinition(doc, myStartCoords.getXLeft(), myStartCoords.getYTop(),
myStartCoords.getXLeft(), (myStartCoords.getYTop() + 30), "Flow_Top", true));
subGroup.appendChild(getArrowDefinition(doc, (myStartCoords.getXLeft() - dimensions.getWidth()/2 + getXSpacing()),
(myStartCoords.getYTop() + 30), (myStartCoords.getXLeft() + dimensions.getWidth()/2 - getXSpacing()),
(myStartCoords.getYTop() + 30), "Flow_TopH", true));
subGroup.appendChild(getArrowDefinition(doc, (myStartCoords.getXLeft() - dimensions.getWidth()/2 + getXSpacing()),
(myExitCoords.getYTop() - 20), (myStartCoords.getXLeft() + dimensions.getWidth()/2 - getXSpacing()),
(myExitCoords.getYTop() - 20), "Flow_DownH", true));
subGroup.appendChild(getArrowDefinition(doc, myExitCoords.getXLeft(), myExitCoords.getYTop() - 20,
myExitCoords.getXLeft(), myExitCoords.getYTop(), "Flow_Top", false));
return subGroup;
}