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?
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
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
0
Answers
Use the following thread:
http://rapid-i.com/rapidforum/index.php/topic,3680.0.html