I'm wanting to create graphiti diagrams with nested nodes (sub-graphs contained in nodes). I know this is possible because there is something similar on the project homepage: http://www.eclipse.org/graphiti/
Are there any case studies or examples out there that I could look at for inspiration? Or any documentation on the principles?
Michael Wenz Messages: 1885 Registered: July 2009 Location: Walldorf, Germany
the diagrams shown on the page use simple nesting of container shapes with
rectangles as GAs; they again contain other shapes/container shapes.
I understood your question so that you wanted to nest a diagram inside
another one. That's not possible, although the pictograms model used by
Graphiti would principially allow such things. Instead the nesting should be
done on container shape level.
Hi, thanks for this. I have been able to place container shapes inside others at the 'diagram level'. By this I mean that by dragging from the palette to inside a parent (and the parent flashes red) I have achieved nesting.
I can't figure out how to do this programmatically, though. Can you give an instance of (or reference to) some code that will contain one shape inside another *if they both already exist*?