Skip to main content



      Home
Home » Archived » Sapphire » Recursive Diagrams
Recursive Diagrams [message #1689029] Sun, 22 March 2015 09:09 Go to next message
Eclipse UserFriend
Hello,

I'd like to know whether it is possible to create recursive diagrams using Sapphire.

Example of my model looks as follows:

<root>
   <leaf/>
   <container>
      <container>
            <leaf/>
            <leaf/>
      <container/>
   </container>
</root>


The container element may contain other containers. I'd like to nest the containers to a (potentially) unlimited depth, still being able to use the features like connections between nodes (on the same level of depth).

Illustration how to result should look like:
index.php/fa/21261/0/

So far I managed only to nest simple list inside an element.

Is it possible to do this using Sapphire? Or do you think maybe different Eclipse framework could serve better for such use case?

Thank you for you replies in advance.
Re: Recursive Diagrams [message #1689434 is a reply to message #1689029] Mon, 23 March 2015 11:16 Go to previous messageGo to next message
Eclipse UserFriend
Our diagram definition language is fully capable of recursions. Between the two layout algorithms we support: Sequence layout and Stack layout, it should be possible to model your diagram node as shown in the attached Image.

Shenxue
Re: Recursive Diagrams [message #1689480 is a reply to message #1689434] Mon, 23 March 2015 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Shenxue, I think he means a sub-diagram within a node, which we currently do not support.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=342312
Re: Recursive Diagrams [message #1690171 is a reply to message #1689480] Wed, 25 March 2015 10:48 Go to previous message
Eclipse UserFriend
Yes, that feature request describes what I need so, unfortunately, I will have to solve it in a different way.

Anyway, thanks a lot for your replies.
Previous Topic:How to get UI part for a specific model element?
Next Topic:How to model diagram connections using xml attributes
Goto Forum:
  


Current Time: Mon May 05 12:54:01 EDT 2025

Powered by FUDForum. Page generated in 0.03071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top