return (first.getOutX()>(getX()+getWidth()/2));
return (first.getOutX()<(getX()+getWidth()/2));
public boolean isRight() {	if (disconnected || outlinks.size()!=1)		return true;	else {		OutLink first = (OutLink)outlinks.firstElement();		if (first.getLayerID().equals(getLayerID()))			return (first.getOutX()>(getX()+getWidth()/2));		else			return true;	}}