The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

how to display tree from visualizationComponent?

rjrj Member Posts: 6 Contributor II
edited November 2018 in Help
Hi
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

Answers

Sign In or Register to comment.