Hi All,
I am Generating a flowchart of any given input source code using JDiagram .
I want to hide a part of flowchart, I have already tried
node.setExpandable(true).
But my problem is that : - After using node.setExpandable(true) when I click on some node it will shirnk the whole diagram under it. But i want that only a part of diagram to collapse on clicking that node, and the portion above and below the required portions remains the same.
For example if a block conatins loop statements . Now If one wants to show detaiiled
statemts of that loop only, and wants that remaing diagram remains the same.
I am not clear with the approach,How do I proceed. Are there any other method by
which I can achive this .
If you provide me some sample code lines, it would be more beneficial for me.
Please Guide me.