Skip to main content



      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] Mon, 15 October 2018 22:03 Go to next message
Eclipse UserFriend
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 104 times)

[Updated on: Tue, 16 October 2018 07:38] by 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 06:01 Go to previous messageGo to next message
Eclipse UserFriend
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
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 07:44 Go to previous messageGo to next message
Eclipse UserFriend
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 07:46] by 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 11:08 Go to previous messageGo to next message
Eclipse UserFriend
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,

[Updated on: Tue, 16 October 2018 11:09] by Moderator

Re: [ELK] Labels of edges are not correctly placed and overlapped in Sirius [message #1796657 is a reply to message #1796627] Tue, 16 October 2018 21:13 Go to previous message
Eclipse UserFriend
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 75 times)
Previous Topic:Announce pxDoc document generation tool v1.1.1
Next Topic:Getting save event
Goto Forum:
  


Current Time: Sat May 17 17:35:49 EDT 2025

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

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

Back to the top