code: function mxAutoSaveManager(graph)
  {
  	// Notifies the manager of a change
  	this.changeHandler = mxUtils.bind(this, function(sender, evt)
  	{
  		if (this.isEnabled())
  		{
  			this.graphModelChanged(evt.getProperty('edit').changes);
  		}
  	});
  
  	this.setGraph(graph);
  }
docs: Copyright (c) 2006-2015, JGraph Ltd
  Copyright (c) 2006-2015, Gaudenz Alder
   
  Class: mxAutoSaveManager
  
  Manager for automatically saving diagrams. The <save> hook must be
  implemented.
  
  Example:
  
  (code)
  var mgr = new mxAutoSaveManager(editor.graph);
  mgr.save = function()
  {
  mxLog.show();
  mxLog.debug('save');
  };
  (end)
  
  Constructor: mxAutoSaveManager
  
  Constructs a new automatic layout for the given graph.
  
  Arguments:
  
  graph - Reference to the enclosing graph.