javascript/examples/grapheditor/www/js/Graph.js
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;
				}
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;
				}
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 ; }
Type 0 means normal waypoint, 1 means jump
Type 0 means normal waypoint 1 means jump