@Override public String graph() throws Exception {
  if (m_Tree == null) {
    throw new Exception("RandomTree: No model built yet.");
  }
  StringBuffer resultBuff=new StringBuffer();
  m_Tree.toGraph(resultBuff,0,null);
  String result="digraph RandomTree {\n" + "edge [style=bold]\n" + resultBuff.toString() + "\n}\n";
  return result;
}

@ Override public String graph ( ) throws Exception { if ( m_Tree == null ) { throw new Exception ( "RandomTree: No model built yet." ) ; } StringBuffer resultBuff = new StringBuffer ( ) ; m_Tree . toGraph ( resultBuff , 0 , null ) ; String result = "digraph RandomTree {\n" + "edge [style=bold]\n" + resultBuff . toString ( ) + "\n}\n" ; return result ; }
returns graph describing the tree .
