Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » All Layouts Have Containers On Top of One Another
All Layouts Have Containers On Top of One Another [message #1824381] Tue, 14 April 2020 16:27 Go to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 206
Registered: May 2012
Senior Member
Hello there,

I have an Eclipse Photon install. I've upgraded it to Sirius 6.3. I have upgrade ELK to 0.6.1. I have enabled, or updated the Sirius ELK integration to 6.3 as well. My Xtext is also upgraded to 2.18

I have a VSM that has a Diagram Representation of my model. The Diagram Representation has a number of hierarchical containers with the final layer of hierarchy doing an import of itself thus allowing recursive containers to be drawn. Each container can have bordered nodes and those bordered nodes can have edges between hierarchy - the typical "port connection model"

Regardless of what layout I pick, and I think over a period of 3 hours I have picked them all (from ELK and the default Sirius ones), when a new diagram is created, all the containers are drawn on top of each other.

Auto-sizing is enabled, but ultimately since they are all on top of one another, I get a diagram with minimal size in the top left.

As I mentioned, I have tried a great number of layouts and I've attempted to adjust the node spacing on all of them and none of them will draw containers spaced out.

I've done all combinations of Select All Shapes, Select All Connectors -> Arrange, Select All -> Arrange.

nothing is work.

What is my first step for debugging this problem?

I can hand layout everything to demo to my team, but as soon as I say change a label in my xtext source file, the entire diagram draws itself on top of itself again.

[Updated on: Tue, 14 April 2020 16:27]

Report message to a moderator

Re: All Layouts Have Containers On Top of One Another [message #1824386 is a reply to message #1824381] Tue, 14 April 2020 16:42 Go to previous messageGo to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 206
Registered: May 2012
Senior Member
Do I need to install graphviz on my own?
Re: All Layouts Have Containers On Top of One Another [message #1824472 is a reply to message #1824386] Wed, 15 April 2020 18:39 Go to previous messageGo to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 116
Registered: October 2019
Senior Member
I have implemented something similar with no problem. If you can provide further details I can try to help.
Re: All Layouts Have Containers On Top of One Another [message #1826482 is a reply to message #1824472] Sat, 25 April 2020 16:45 Go to previous messageGo to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 206
Registered: May 2012
Senior Member
It's some kind of annoying runtime problem with my install. I can't even draw the example.basicfamily tutorial without drawing all the family members on top of each other. And there's no layout I can put in my VSM that will fix it - they all draw everything on top of each other.

So my upgrade of Sirius from the Photon Modeling install has something that has gone wrong. I guess I just start over until I find a configuration that works. I tried to downgrade to ELK 0.5 because that's what Sirius 3.0 was released with and that doesn't work either. Doesn't really seem like it should be this easy to mess up the install.

I get heaps of runtime messages in my console saying :

!ENTRY: org.eclipse.elk.core.services 2
!MESSAGE: Unable to build the layout graph from the given selection

At least I now know it's fundamentally broken as part of my install and if I get it right, I have a chance of my VSM working.
Re: All Layouts Have Containers On Top of One Another [message #1826543 is a reply to message #1826482] Mon, 27 April 2020 00:36 Go to previous messageGo to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 206
Registered: May 2012
Senior Member
I've got an install configuration that works at runtime now. Nodes are not all drawn on top of each other. I can't find a good layout though. Everything looks terrible in a different way and I've spent hours tweaking options asking myself if Sirius and ELK are even considering the options I've selected.
Re: All Layouts Have Containers On Top of One Another [message #1826710 is a reply to message #1826543] Wed, 29 April 2020 10:20 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 492
Registered: May 2011
Senior Member
Hello,

You can check my answer on your other post: https://www.eclipse.org/forums/index.php/m/1826709/#msg_1826709
Hope that helps.

Best regards,
Steve


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Independent Diagram Use Case
Next Topic:How do I get this ELK layout in Sirius?
Goto Forum:
  


Current Time: Sun Oct 25 15:04:22 GMT 2020

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

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

Back to the top