code: function(graph, cell, opacity)
  	{
  		// Fades all children
  		var childCount = graph.model.getChildCount(cell);
  		
  		for (var i=0; i<childCount; i++)
  		{
  			var child = graph.model.getChildAt(cell, i);
  			var childState = graph.getView().getState(child);
  			
  			if (childState != null)
  			{
  				mxUtils.setOpacity(childState.shape.node, opacity);
  				mxEffects.cascadeOpacity(graph, child, opacity);
  			}
  		}
  		
  		// Fades all connected edges
  		var edges = graph.model.getEdges(cell);
  		
  		if (edges != null)
  		{
  			for (var i=0; i<edges.length; i++)
  			{
  				var edgeState = graph.getView().getState(edges[i]);
  				
  				if (edgeState != null)
  				{
  					mxUtils.setOpacity(edgeState.shape.node, opacity);
  				}
  			}
  		}
  	}
docs: Function: cascadeOpacity
  
  Sets the opacity on the given cell and its descendants.
  
  Parameters:
  
  graph - <mxGraph> that contains the cells.
  cell - <mxCell> to set the opacity for.
  opacity - New value for the opacity in %.