code: function mxEdgeHandler(state)
  {
  	if (state != null)
  	{
  		this.state = state;
  		this.init();
  		
  		// Handles escape keystrokes
  		this.escapeHandler = mxUtils.bind(this, function(sender, evt)
  		{
  			var dirty = this.index != null;
  			this.reset();
  			
  			if (dirty)
  			{
  				this.graph.cellRenderer.redraw(this.state, false, state.view.isRendering());
  			}
  		});
  		
  		this.state.view.graph.addListener(mxEvent.ESCAPE, this.escapeHandler);
  	}
  }
docs: Copyright (c) 2006-2015, JGraph Ltd
  Copyright (c) 2006-2015, Gaudenz Alder
   
  Class: mxEdgeHandler
  
  Graph event handler that reconnects edges and modifies control points and
  the edge label location. Uses <mxTerminalMarker> for finding and
  highlighting new source and target vertices. This handler is automatically
  created in <mxGraph.createHandler> for each selected edge.
  
  To enable adding/removing control points, the following code can be used:
  
  (code)
  mxEdgeHandler.prototype.addEnabled = true;
  mxEdgeHandler.prototype.removeEnabled = true;
  (end)
  
  Note: This experimental feature is not recommended for production use.
  
  Constructor: mxEdgeHandler
  
  Constructs an edge handler for the specified <mxCellState>.
  
  Parameters:
  
  state - <mxCellState> of the cell to be handled.