code: function addPoint(type, x, y)
  				{
  					var rpt = new mxPoint(x, y);
  					rpt.type = type;
  					
  					actual.push(rpt);
  					var curr = (state.routedPoints != null) ? state.routedPoints[actual.length - 1] : null;
  					
  					return curr == null || curr.type != type || curr.x != x || curr.y != y;
  				}
docs: Type 0 means normal waypoint, 1 means jump