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 - PageFlow editor flow lines unmanageable with large Faces config
Summary: PageFlow editor flow lines unmanageable with large Faces config
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 15:45 UTC by sanhozay
Modified: 2010-04-01 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot showing PageFlow that has started creating straight lines (34.96 KB, image/jpeg)
2009-03-04 15:46 UTC, sanhozay
Details
The complete faces-config.xml (15.61 KB, text/xml)
2009-03-04 15:47 UTC, sanhozay
Details

Note You need to log in before you can comment on or make changes to this bug.
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.