Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Recursive Diagrams
Recursive Diagrams [message #1689029] Sun, 22 March 2015 13:09 Go to next message
Tomáš Milata is currently offline Tomáš MilataFriend
Messages: 15
Registered: March 2015
Junior Member
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 15:16 Go to previous messageGo to next message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 60
Registered: July 2009
Member
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 17:05 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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 14:48 Go to previous message
Tomáš Milata is currently offline Tomáš MilataFriend
Messages: 15
Registered: March 2015
Junior Member
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: Fri Nov 16 12:35:32 GMT 2018

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

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

Back to the top