Bug 138104 - API_REVIEW_FAST: Adding Invert and Spacing Configuration to Hierarchical Layout
API_REVIEW_FAST: Adding Invert and Spacing Configuration to Hierarchical Layout
Status: NEW
Product: platform
Classification: Unclassified
Component: Graph
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@platform
issues@platform
http://wiki.netbeans.org/GraphLibrary...
: API_REVIEW_FAST
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-24 15:48 UTC by Kris Richards
Modified: 2011-11-28 18:11 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Richards 2008-06-24 15:48:06 UTC
There are certain graphs which demand that the hierarchical layout be inverted (target above source). One such graph would be a UML class diagram. For this 
reason I propose adding a static call to the GraphLayoutFactory to allow for an "inverted" flag to be provided. The default behavior sets inverted to false.

Another call to be added the the GraphLayoutFactory would include "inverted", "horizontal spacing", and "layer spacing" (vertical). The default all remain the 
same.

This is an absolutely trivial addition which is needed immediately by the UML module.
Comment 1 David Kaspar 2008-06-25 20:49:53 UTC
DK01: The change is possible and does not conflict with anything. Maybe it is not necessary to have two methods but only
one with all parameters... but it is not necessary implement it...
Comment 2 David Kaspar 2008-06-25 20:51:46 UTC
DK02: Optionally the "invert" parameter may be replaced by "direction" parameter which would be an enum of values: WEST,
EAST, NORTH, SOUTH.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo