Bug 258752 - DirectedGraphLayoutAlgorithm disabled some DirectedGraphLayout functionality
Summary: DirectedGraphLayoutAlgorithm disabled some DirectedGraphLayout functionality
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Zest (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 08:49 EST by Richard Miskin CLA
Modified: 2015-01-22 02:44 EST (History)
1 user (show)

See Also:


Attachments
Remove ExtendedDirectedGraphLayout (2.29 KB, patch)
2008-12-14 08:49 EST, Richard Miskin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Miskin CLA 2008-12-14 08:49:18 EST
Created attachment 120409 [details]
Remove ExtendedDirectedGraphLayout

Build ID: I20080617-2000

Steps To Reproduce:
Currently the DirectedGraphLayoutAlgorithm disables functionality in DirectedGraphLayout that spreads out GraphNodes horizontally. This leads to a graph that has all the nodes in a single column. 

More information:
If DirectedGraphLayout is used instead of ExtendedDirectedGraphLayout then, for my usage at least, the layout is better. If there is a need for ExtendedDirectedLayout maybe the constructor to DirectedGraphLayoutAlgorithm  could have an extra parameter?

I've attached a patch that simply removes ExtendedDirectedGraphLayout, if something more intelligent is wanted let me know.
Comment 1 Ian Bull CLA 2009-01-05 01:31:18 EST
This is used in the PDE visualization tool, we use the directed graph layout to get the row ordering, then we move the nodes manually.  This is much faster then using the default directed graph layout (it is very smart with respect to column ordering, and thus very slow).  

I will look at this patch, and see if we can maybe create two different layout algorithms to make both cases work.


Comment 2 Alexander Nyßen CLA 2015-01-22 02:44:42 EST
Re-assigning back to inbox, as Ian is no longer active committer.