docs: function mxConnectionHandler(graph, factoryMethod)
  {
  	mxEventSource.call(this);
  	
  	if (graph != null)
  	{
  		this.graph = graph;
  		this.factoryMethod = factoryMethod;
  		this.init();
  		
  		// Handles escape keystrokes
  		this.escapeHandler = mxUtils.bind(this, function(sender, evt)
  		{
  			this.reset();
  		});
  		
  		this.graph.addListener(mxEvent.ESCAPE, this.escapeHandler);
  	}
  }