Bug 129798 - CompositeLayout: Connecting cycle to other node causes layout to fail
Summary: CompositeLayout: Connecting cycle to other node causes layout to fail
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 critical
Target Milestone: 1.0   Edit
Assignee: Mohammed Mostafa CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2006-02-28 10:51 EST by Steven R. Shaw CLA
Modified: 2010-07-19 12:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2006-02-28 10:51:17 EST
Steps:
1. Create a Logic Diagram
2. Create and Oval and resize it to be big (1/2 the diagram size)
3. Create 3 small ovals  
4. Connect then in a cycle
5. Connect the cycle to the big oval
6. Right click on the diagram and arrange all

Result:
Message is displayed "graph is not fully connected".

Stack:
java.lang.RuntimeException: graph is not fully connected
	at org.eclipse.draw2d.graph.TightSpanningTreeSolver.solve(TightSpanningTreeSolver.java:144)
	at org.eclipse.draw2d.graph.TightSpanningTreeSolver.visit(TightSpanningTreeSolver.java:62)
	at org.eclipse.draw2d.graph.DirectedGraphLayout.visit(DirectedGraphLayout.java:99)
	at org.eclipse.gmf.runtime.draw2d.ui.internal.graph.CompositeDirectedGraphLayout.layoutNodes(CompositeDirectedGraphLayout.java:124)
	at org.eclipse.gmf.runtime.draw2d.ui.internal.graph.CompositeDirectedGraphLayout.visit(CompositeDirectedGraphLayout.java:46)
	at org.eclipse.gmf.runtime.diagram.ui.providers.internal.DefaultProvider.layoutEditParts(DefaultProvider.java:126)
	at org.eclipse.gmf.runtime.diagram.ui.services.layout.AbstractLayoutEditPartProvider.layoutLayoutNodes(AbstractLayoutEditPartProvider.java:67)
	at org.eclipse.gmf.runtime.diagram.ui.internal.services.layout.LayoutNodesOperation.execute(LayoutNodesOperation.java:74)
	at org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy$1.execute(ExecutionStrategy.java:75)
	at org.eclipse.gmf.runtime.common.core.service.Service.execute(Service.java:601)
	at org.eclipse.gmf.runtime.diagram.ui.services.layout.LayoutService.execute(LayoutService.java:64)
	at org.eclipse.gmf.runtime.diagram.ui.services.layout.LayoutService.layoutLayoutNodes(LayoutService.java:284)
	at org.eclipse.gmf.runtime.diagram.ui.editpolicies.ContainerEditPolicy.layoutNodes(ContainerEditPolicy.java:330)
	at org.eclipse.gmf.runtime.diagram.ui.editpolicies.ContainerEditPolicy.getArrangeCommand(ContainerEditPolicy.java:303)
	at org.eclipse.gmf.runtime.diagram.ui.editpolicies.ContainerEditPolicy.getCommand(ContainerEditPolicy.java:428)
Comment 1 Mohammed Mostafa CLA 2006-03-01 11:01:12 EST
Fixed
Comment 2 Richard Gronback CLA 2008-08-13 13:07:05 EDT
[target cleanup] 1.0 M5 was the original target milestone for this bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:25:40 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug