Bug 164409 - Make fan router work with ShortestPathConnectionRouter
Summary: Make fan router work with ShortestPathConnectionRouter
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 18:16 EST by Pratik Shah CLA
Modified: 2010-04-14 12:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pratik Shah CLA 2006-11-13 18:16:39 EST
Fan and SPC routers can't be used in conjunction because the SPCR invalidates certain connections in its route method.  To prevent that from adversely affecting the router, it has an ignoreInvalidate field.  When you use the two routers together, the fanned connections keep jumping around (their index changes), because of the invalidation happening in the route() method.  What we need is for Automatic/Fan router to have the same ignoreInvalidate field which is set to true before next.route() is invoked, and set to false after it's done.