code: public void disconnectEnd() {
  		if (this.endPoint != null) {
  			this.endPoint.remove(this);
  		}
  		this.endPoint = new SGraphPoint(getGraph());
  		this.endPoint.add(this);
  	}
docs: Disconnect the end point of this segment.