if (outlinks.size()!=1 || !getLayerID().equals(getOutput().getLayerID()))
if (outlinks.size()==1 && !getLayerID().equals(getOutput().getLayerID()))
public int getLeftX() {	if (outlinks.size()!=1 || !getLayerID().equals(getOutput().getLayerID()))		return getX()-Constants.TAIL_LENGTH;	else		return getX()-Constants.TAIL_LENGTH - getVerticalPosition()*Constants.LINK_SLOT_WIDTH;}