code: function mxVertexHandler(state)
  {
  	if (state != null)
  	{
  		this.state = state;
  		this.init();
  		
  		// Handles escape keystrokes
  		this.escapeHandler = mxUtils.bind(this, function(sender, evt)
  		{
  			if (this.livePreview && this.index != null)
  			{
  				// Redraws the live preview
  				this.state.view.graph.cellRenderer.redraw(this.state, true);
  				
  				// Redraws connected edges
  				this.state.view.invalidate(this.state.cell);
  				this.state.invalid = false;
  				this.state.view.validate();
  			}
  			
  			this.reset();
  		});
  		
  		this.state.view.graph.addListener(mxEvent.ESCAPE, this.escapeHandler);
  	}
  }
docs: Copyright (c) 2006-2015, JGraph Ltd
  Copyright (c) 2006-2015, Gaudenz Alder
   
  Class: mxVertexHandler
  
  Event handler for resizing cells. This handler is automatically created in
  <mxGraph.createHandler>.
  
  Constructor: mxVertexHandler
  
  Constructs an event handler that allows to resize vertices
  and groups.
  
  Parameters:
  
  state - <mxCellState> of the cell to be resized.