Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » [ELK] Labels of edges are not correctly placed and overlapped in Sirius
[ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796546] Tue, 16 October 2018 02:03 Go to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Hi,
I am using ELK layered algorithm to layout my Sirius diagram.
Environment:
Eclipse: Photon
Sirius: 6.0
ELK: 0.4.1
Model: family
Configurations:
Layout: ELK Layered in odesign file
Option: mergeEdges = true in Layered.melk
Add "Begin Label" and "End Label" for "fatherEdge" and "motherEdge" in odesign of family

This is my layout result on family diagram by clicking "Arrange All" button.
index.php/fa/34057/0/(see family_diagram.gif)
From this picture, we can see that some edges are overlapped with labels, edges or icons.
The another picture is my layout result on the same diagram by clicking ELK Layout button in the toolbar.
index.php/fa/34058/0/(see family_graph.gif)
From the picture, we can see that all the edge labels are well placed without overlapping.

I am confused, is it ELK's problem? Or is it connection problem between Sirius and ELK which causes this result?

As the feedback of ELK team, this part must be the connection between Sirius and ELK so I submit it into this forum.
https://www.eclipse.org/forums/index.php/t/1095588/

Thanks in advance and hope for your reply.


  • Attachment: Defect.zip
    (Size: 1.45MB, Downloaded 36 times)

[Updated on: Tue, 16 October 2018 11:38]

Report message to a moderator

Re: [ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796574 is a reply to message #1796546] Tue, 16 October 2018 10:01 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,

Thank you for the report.
I can't really say what is happening without digging.
Can you open a Sirius ticket https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius and put your screenshot, your ecore model and your odesign model?

Regards,

Pierre


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: [ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796594 is a reply to message #1796574] Tue, 16 October 2018 11:44 Go to previous messageGo to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Hi Pierre,

Thanks for your reply. I am sorry our company can't not access the Bugzilla yet.
So I attach the related reproduce material at the 1st level.

There are 3 folder included in this material:
1) Meta-model: m2 of family, modify the odesign file.
2) Model: model file of family.
3) Modified 3rd: modified ELK org.eclipse.elk.alg.layered, which changes the option (mergeEdges = true) in Layered.melk.
(ELK version is 0.4.1.)

I hope this material can help you.


Bests,
Nicholas Kong

[Updated on: Tue, 16 October 2018 11:46]

Report message to a moderator

Re: [ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796627 is a reply to message #1796594] Tue, 16 October 2018 15:08 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,

I did not see the attached file.

Ok I made the ticket: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540186

Thank you.

I am just wondering why you had to change the melk file whereas Sirius allows you to change the mergeEdge option to true in the VSM?

Regards,


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

[Updated on: Tue, 16 October 2018 15:09]

Report message to a moderator

Re: [ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796657 is a reply to message #1796627] Wed, 17 October 2018 01:13 Go to previous message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Hi Pierre,

I have attached the material which name is 'Defect.zip' at the 1st floor of this discussion.

I also attached it under this part.

Quote:
"I am just wondering why you had to change the melk file whereas Sirius allows you to change the mergeEdge option to true in the VSM?"

I see. Because we want reproduce our environment issue, so change the melk option directly.

Thanks a lot.
  • Attachment: Defect.zip
    (Size: 1.45MB, Downloaded 22 times)
Previous Topic:Announce pxDoc document generation tool v1.1.1
Next Topic:Getting save event
Goto Forum:
  


Current Time: Sat Mar 06 11:55:44 GMT 2021

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

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

Back to the top