Summary: | VerticalPlacement should take a flag in it's constructor that determines whether the height of the nodes should be changed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] GEF | Reporter: | Sean Woodhouse <swoodhouse> | ||||
Component: | GEF-Legacy Draw2d | Assignee: | gef-inbox <gef-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | ahunter.eclipse, vineet | ||||
Version: | unspecified | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Sean Woodhouse
2004-03-15 20:12:48 EST
Created attachment 8591 [details]
source
This class is currently internal. What would you propose for an [open-ended] set of layout hints on both the Nodes and the DirectedGraph? I'd suggest adding a mechanism on DirectedGraphLayout.visit() method to specify how you want the graph laid out. These could be defined by a 'style' flag, or a dictionary of layout directives. The characteristics you can change will really be determined by the implementation of the visit() method, so a dictionary might be the better implementation. You could also apply these directives to each node and edge, but I would assume in most cases you'd want the same directives to apply across all nodes and edges for a particular layout invocation. Hence my suggestion to put it on DirectedGraphLayout. |