Bug 197533 - [Layout] Arrange diagram, connection cross
Summary: [Layout] Arrange diagram, connection cross
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal
Target Milestone: 2.2   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 15:13 EDT by John Vandenbroek CLA
Modified: 2010-07-19 21:58 EDT (History)
3 users (show)

See Also:


Attachments
Logic diagram example (27.44 KB, text/plain)
2007-07-23 15:24 EDT, John Vandenbroek CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Vandenbroek CLA 2007-07-23 15:13:36 EDT
After layout out the contents of a graph, the connections overlap. In general, this is not an easy problem to solve.  But in my case, the graph is simple and the layout would seem straight forward in the users eyes.
Comment 1 John Vandenbroek CLA 2007-07-23 15:24:22 EDT
Created attachment 74391 [details]
Logic diagram example

Here is an example.  

1) Import this logic diagram into a project.
2) Open the diagram with the logic editor (shipped as a GEF example).
3) Right click on the canvas and select Arrange All.

The results typically show some connections overlapping.

Note that the results are not always consistent.  You may have to close the logic editor, reopen it, and then run steps 2 and 3 again.
Comment 2 Pratik Shah CLA 2007-07-23 16:14:07 EDT
Arrange all?  Sounds like something GMF might be doing.
Comment 3 Richard Gronback CLA 2008-05-12 22:54:35 EDT
I'm not sure what this bug is asking for... improved layout in the GMF version of the logic diagram?  The attachment is clearly from the GMF example, not GEF.  Arrange All invokes the layout service, which can have alternative layouts provided.  See the layout service tutorial in the GMF Help.

Another option is to use jump links, where it's not possible to avoid overlaps.  When working with GEF, the Zest component provides additional layout algorithms.

Anthony, any other thoughts?  WONTFIX?
Comment 4 Anthony Hunter CLA 2008-06-25 16:12:58 EDT
This is related to the fact that you have connections to border items on shapes. Connections to shapes do not have this issue.
Comment 5 Eclipse Webmaster CLA 2010-07-19 21:58:30 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug