Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 230375

Summary: addNode and addRelationship problem
Product: [Tools] GEF Reporter: Said <said.taaouati>
Component: GEF-Legacy ZestAssignee: Ian Bull <irbull>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: irbull, Vincent.Lucquiaud
Version: unspecifiedFlags: irbull: galileo+
Target Milestone: 3.5.0 (Galileo) M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Said CLA 2008-05-06 07:52:30 EDT
Generating a graph dynamically using the methods addNode and addRelationship is very slow.
The problem is that the method applyLaout()  is called for each created node.

The method applyLaout()  must be called after creating nodes and relations.
Comment 1 Ian Bull CLA 2009-01-29 23:22:36 EST
I think it makes sense to remove the applyLayout in the addNode / addRelationship method.  
Comment 2 Ian Bull CLA 2009-05-04 01:19:48 EDT
fixed in M7.