src/main/java/com/mxgraph/swing/mxGraphComponent.java
public void clearCellOverlays(Object cell)
	{
		mxIGraphModel model = graph.getModel();

		if (cell == null)
		{
			cell = model.getRoot();
		}

		removeCellOverlays(cell);

		// Recursively removes all overlays from the children
		int childCount = model.getChildCount(cell);

		for (int i = 0; i < childCount; i++)
		{
			Object child = model.getChildAt(cell, i);
			clearCellOverlays(child); // recurse
		}
	}
/**
	 * Removes all overlays in the graph for the given cell and all its
	 * descendants. If no cell is specified then all overlays are removed from
	 * the graph. This implementation uses removeOverlays to remove the overlays
	 * from the individual cells.
	 * 
	 * @param cell
	 *            Optional cell that represents the root of the subtree to
	 *            remove the overlays from. Default is the root in the model.
	 */
Removes all overlays in the graph for the given cell and all its
descendants. If no cell is specified then all overlays are removed from
the graph. This implementation uses removeOverlays to remove the overlays
from the individual cells.

@param cell
Optional cell that represents the root of the subtree to
remove the overlays from. Default is the root in the model.
Removes all overlays in the graph for the given cell and all its descendants . If no cell is specified then all overlays are removed from the graph . This implementation uses removeOverlays to remove the overlays from the individual cells . @param cell Optional cell that represents the root of the subtree to remove the overlays from . Default is the root in the model .
public void clearCellOverlays(Object cell)
	{
		mxIGraphModel model = graph.getModel();
		if (cell == null)
		{
			cell = model.getRoot();
		}
		removeCellOverlays(cell);
		int childCount = model.getChildCount(cell);
		for (int i = 0; i < childCount; i++)
		{
			Object child = model.getChildAt(cell, i);
			clearCellOverlays(child); 
		}
	}
public void clearCellOverlays ( Object cell ) { mxIGraphModel model = graph . getModel ( ) ; if ( cell == null ) { cell = model . getRoot ( ) ; } removeCellOverlays ( cell ) ; int childCount = model . getChildCount ( cell ) ; for ( int i = 0 ; i < childCount ; i ++ ) { Object child = model . getChildAt ( cell , i ) ; clearCellOverlays ( child ) ; } }
Removes all overlays in the graph for the given cell and all its
 descendants.
Removes all overlays in the graph for the given cell and all its descendants .
// Recursively removes all overlays from the children // recurse