Bug 45759

Summary: [GraphLayout] Endless loop in DirectedGraphLayout with nodes with edges to self
Product: [Tools] GEF Reporter: Steven R. Shaw <steveshaw>
Component: GEF-Legacy GEF (MVC)Assignee: Anthony Hunter <ahunter.eclipse>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: greensopinion, lding, nyssen, vijay.rajonline, vijay_g, vikasholkar
Version: 2.1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Steven R. Shaw CLA 2003-10-29 15:49:19 EST
Populate the edge list with an edge that has source and target node the same.

Call "visit" on DirectGraphLayout.

Result:
- Endless loop.

Expected:
- Should throw an exception instead.
Comment 1 Randy Hudson CLA 2003-10-30 09:25:58 EST
Such edges have no effect on the layout currently.  The workaround is obviously 
to not contribute those edges to the graph.

Can we fix this without an exception?  So, we'll just ignore the edge.
Comment 2 David Green CLA 2005-01-10 11:17:25 EST
Has there been any activity on this bug?  It would be great to get this one fixed.
Comment 3 Alexander Nyßen CLA 2013-10-17 09:45:25 EDT
Unset target milestone as the specified one is already passed.