code: function snapToTerminal(terminal)
  		{
  			if (terminal != null)
  			{
  				snapToPoint.call(this, new mxPoint(view.getRoutingCenterX(terminal),
  						view.getRoutingCenterY(terminal)));
  			}
  		}
docs: Temporary function