javascript/mxClient.js
function(sender, evt)
	{
		var changes = evt.getProperty('edit').changes;
		graph.setSelectionCells(graph.getSelectionCellsForChanges(changes));
	}
function(sender, evt)
	{
		var changes = evt.getProperty('edit').changes;
		graph.setSelectionCells(graph.getSelectionCellsForChanges(changes));
	}
function ( sender , evt ) { var changes = evt . getProperty ( 'edit' ) . changes ; graph . setSelectionCells ( graph . getSelectionCellsForChanges ( changes ) ) ; }
Keeps the selection state in sync
Keeps the selection state in sync