question: protected void graphTree ( StringBuffer text ) throws Exception { text . append ( "N" + m_clusterNum + " [label=\"" + ( ( m_children == null ) ? "leaf " : "node " ) + m_clusterNum + " " + " (" + m_clusterInstances . numInstances ( ) + ")\" " + ( ( m_children == null ) ? "shape=box style=filled " : "" ) + ( m_saveInstances ? "data =\n" + dumpData ( ) + "\n,\n" : "" ) + "]\n" ) ; if ( m_children != null ) { for ( int i = 0 ; i < m_children . size ( ) ; i ++ ) { CNode temp = m_children . get ( i ) ; text . append ( "N" + m_clusterNum + "->" + "N" + temp . m_clusterNum + "\n" ) ; } for ( int i = 0 ; i < m_children . size ( ) ; i ++ ) { CNode temp = m_children . get ( i ) ; temp . graphTree ( text ) ; } } }
target:  Recursively generate the graph string for the Cobweb tree.