code: public SharedTreeSubgraph makeSubgraph(String name) {
      SharedTreeSubgraph sg = new SharedTreeSubgraph(subgraphArray.size(), name);
      subgraphArray.add(sg);
      return sg;
    }
docs: Make a new tree.
  @param name Tree name.
  @return The new tree.