function(evt)
		{
			var state = null;
			
			// Workaround for touch events which started on some DOM node
			// on top of the container, in which case the cells under the
			// mouse for the move and up events are not detected.
			if (mxClient.IS_TOUCH)
			{
				var x = mxEvent.getClientX(evt);
				var y = mxEvent.getClientY(evt);
				
				// Dispatches the drop event to the graph which
				// consumes and executes the source function
				var pt = mxUtils.convertPoint(container, x, y);
				state = graph.view.getState(graph.getCellAt(pt.x, pt.y));
			}
			
			return state;
		}
function(evt)
		{
			var state = null;
			
			// Workaround for touch events which started on some DOM node
			// on top of the container, in which case the cells under the
			// mouse for the move and up events are not detected.
			if (mxClient.IS_TOUCH)
			{
				var x = mxEvent.getClientX(evt);
				var y = mxEvent.getClientY(evt);
				
				// Dispatches the drop event to the graph which
				// consumes and executes the source function
				var pt = mxUtils.convertPoint(container, x, y);
				state = graph.view.getState(graph.getCellAt(pt.x, pt.y));
			}
			
			return state;
		}
function ( evt ) { var state = null ; // Workaround for touch events which started on some DOM node // on top of the container, in which case the cells under the // mouse for the move and up events are not detected. if ( mxClient . IS_TOUCH ) { var x = mxEvent . getClientX ( evt ) ; var y = mxEvent . getClientY ( evt ) ; // Dispatches the drop event to the graph which // consumes and executes the source function var pt = mxUtils . convertPoint ( container , x , y ) ; state = graph . view . getState ( graph . getCellAt ( pt . x , pt . y ) ) ; } return state ; }
Workaround for touch events which started on some DOM node on top of the container, in which case the cells under the mouse for the move and up events are not detected.
Workaround for touch events which started on some DOM node on top of the container in which case the cells under the mouse for the move and up events are not detected .
This function is called when the user clicks on a cell