public class LayoutLeftmost<D> extends LayoutGrid<D>
1->2 2->3 2->4 1->5 5->6 will give
1
2 5
3 4 6
"mode not packed" will give
1->2 2->3 2->4 4->5 4->6 1->10 10->11 10->12 12->13
1
| \
2 10
| \ | \
3 4 11 12
| \ |
5 6 12
NOT IMPLEMENTED FIXME: "mode packed" will give
1->2 2->3 2->4 4->5 4->6 1->10 10->11 10->12 12->13
1
| \
2 10
| \ | \
3 4 11 12
| \ |
5 6 12
| Modifier and Type | Field and Description |
|---|---|
protected int |
curcol |
protected int |
currow |
protected Set<D> |
visited |
cols, model, rows| Constructor and Description |
|---|
LayoutLeftmost(GraphModel<D> m) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calc(D obj) |
void |
layout(D obj)
Perform the layout process with given graph root.
|
dump, getCol, getRowpublic LayoutLeftmost(GraphModel<D> m)
public void layout(D obj)
layout in class LayoutGrid<D>obj - the root from which to start the layoutingprotected void calc(D obj)
see also the complete user documentation .