One diagram representation for many objets [message #1841746] |
Thu, 27 May 2021 07:01  |
Eclipse User |
|
|
|
Hi guys,
I am currently working on the little project using EMF and Sirius framework. The goal is to create graphical visualisation of some basics functional blocks. Everything went fine - I made EMF model and Sirius visualisation with possibilities to create, delete and connect functional blocks that I declared.
At the moment I want to make a type of block that is graphically represented by one block like the others I have made so far, but contains logic made of few basic blocks inside. My idea was to use tool navigation and navigate to new diagram when block is clicked. The point is, that the diagram inside the blocks should allow to same tools as the main diagram, but should have it's own blocks to. At the moment the diagram it's being made under this "super" functional blocks contains same blocks as the main one. It is basically the same diagram. When I delete block in one diagram, it disappears in the other one.
Is it possible to make these diagram hold independent instances of blocks? If it is, how should it be done? I would be really grateful for any answers.
|
|
|
|
Re: One diagram representation for many objets [message #1842141 is a reply to message #1841771] |
Thu, 10 June 2021 02:57  |
Eclipse User |
|
|
|
Hello,
thank you for your answer.
I have managed to make what I wanted. I can declare some container creation tool, which I can drag from tools panel and if I click on it creates and navigates to own diagram of instance made. I have also managed to make this "inner" diagram have some another blocks inside from start which is great. Now I wonder if there is a possiblity have connections between objects in this inner diagram? Basically I want to have a block representation at my main diagram which holds some inner diagram with prepared blocks and connections between them. At the moment I have blocks only and I don't know if it is possible to make these connections to be made at the moment of creating inner diagram?
Again, I would be grateful for any answers.
|
|
|
Powered by
FUDForum. Page generated in 0.04593 seconds