how to display tree from visualizationComponent?

rjrj Member Posts: 6 Contributor II
edited November 2018 in Help
how can i display tree from visualizationComponent and i need to save  tree in some location
later on i need to display it.

IOObject io = ioResult.getElementAt(0);
        TreeModel model = (TreeModel) ioResult.getElementAt(0);
          TreeModelGraphRenderer gr=new TreeModelGraphRenderer();
        GraphCreator<String, String> graphCreator = gr.getGraphCreator(model, ioResult);
                Component visualizationComponent = gr.getVisualizationComponent(model, ioResult);

from here how can i proceed to display tree?
Thanks in advance


Sign In or Register to comment.