int idx;  for(int i=0; i<level.length; i++) if(level[i]==element) return i; throw new Exception("Error. Didn't find element "+((GraphNode)m_nodes.elementAt(element)).ID+ " in level. Inspect code for weka.gui.graphvisualizer.HierarchicalBCEngine"); }
int idx;  for(int i=0; i<level.length; i++) if(level[i]==element) return i; throw new Exception("Error. Didn't find element "+ ((GraphNode)m_nodes.elementAt(element)).ID+ " in level. Inspect code for "+ "weka.gui.graphvisualizer.HierarchicalBCEngine"); }
    private int indexOfElementInLevel(int element, int level[]) throws Exception {	int idx;		for(int i=0; i<level.length; i++)	    if(level[i]==element)		return i;	throw new Exception("Error. Didn't find element "+((GraphNode)m_nodes.elementAt(element)).ID+			    " in level. Inspect code for weka.gui.graphvisualizer.HierarchicalBCEngine");    }