This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 159619

Summary: PageFlow editor flow lines unmanageable with large Faces config
Product: platform Reporter: sanhozay <sanhozay>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: alexeybutenko
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot showing PageFlow that has started creating straight lines
The complete faces-config.xml

Description sanhozay 2009-03-04 15:45:05 UTC
With a simple Faces config file, the PageFlow editor flow lines are curved, laid out away from the pages and easy to
read. They do cross over but that is not a major issue. It doesn't seem possible to adjust the layout, by dragging the
end-points on the lines, although the mid-points can be dragged.

As the config file becomes more complex (I think that's the reason, rather than having used the reset layout tool), it
reaches a point where the editor abandons the idea of curved lines and insists on drawing them straight. I can't find a
way to add a mid-point to these straight lines. Where there is a flow back to the same page, straight lines are very
hard to see. The straight lines also make an intelligible layout hard to achieve - it's not possible to route a line
around a page and the layout just becomes spaghetti.

Resetting the page layout in these circumstances makes a real mess.
Comment 1 sanhozay 2009-03-04 15:46:29 UTC
Created attachment 77723 [details]
Screen shot showing PageFlow that has started creating straight lines
Comment 2 sanhozay 2009-03-04 15:47:57 UTC
Created attachment 77724 [details]
The complete faces-config.xml
Comment 3 Alexey Butenko 2009-09-11 14:31:20 UTC
If I understand the code correctly routes with all the points locations calculated in Visual API. In this particular case
OrthogonalSearchRouter.routeConnection method used. So passing to graph module for evaluation.