|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.CanonicMultiStageLayouter | +--y.layout.circular.CircularLayouter
Circular style layouter. This layouter either places all nodes on a cycle or
or applies some cunning scheme to partition the graph in disjoint node sets each of
which will be layed out on a separate cycle. The separate cycles themselves
are arranged using a BalloonLayouter
.
Here is an sample output of the layouter using the CircularLayouter.BCC_COMPACT
layout style.
Field Summary | |
static byte |
BCC_COMPACT
Layout style specifier. |
static byte |
BCC_ISOLATED
Layout style specifier. |
static byte |
SINGLE_CYCLE
Layout style specifier. |
Fields inherited from interface y.layout.Layouter |
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
CircularLayouter()
|
Method Summary | |
boolean |
canLayoutCore(LayoutGraph graph)
Always returns true . |
void |
doLayoutCore(LayoutGraph graph)
Core layout routine. |
BalloonLayouter |
getBalloonLayouter()
Returns the BalloonLayouter used for laying out arranging separate node cycles Configuring that layouter has effect upon the arrangement of separate node cycles within the overall layout. |
byte |
getLayoutStyle()
Returns the layout style for this layouter. |
int |
getMaximalDeviationAngle()
Returns the maximal deviation angle allowed for an edge. |
SingleCycleLayouter |
getSingleCycleLayouter()
Returns the SingleCycleLayouter used for laying out single node cycles Configuring that layouter has effects upon single cycle layouts |
void |
setLayoutStyle(byte style)
Sets the layout style for this layouter. |
void |
setMaximalDeviationAngle(int deviationAngle)
Sets the maximal deviation angle allowed for an edge. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static byte BCC_COMPACT
public static byte BCC_ISOLATED
public static byte SINGLE_CYCLE
Constructor Detail |
public CircularLayouter()
Method Detail |
public void setMaximalDeviationAngle(int deviationAngle)
By default a maximal deviation angle of 90 degrees is applied.
deviationAngle
- the deviation angle given in degrees.public int getMaximalDeviationAngle()
CircularLayouter.setMaximalDeviationAngle(int)
public void setLayoutStyle(byte style)
CircularLayouter.SINGLE_CYCLE
and
CircularLayouter.BCC_COMPACT
By default CircularLayouter.BCC_COMPACT
is used as layout style
public byte getLayoutStyle()
CircularLayouter.setLayoutStyle(byte)
public SingleCycleLayouter getSingleCycleLayouter()
Configuring that layouter has effects upon single cycle layouts
public BalloonLayouter getBalloonLayouter()
Configuring that layouter has effect upon the arrangement of separate node cycles within the overall layout.
public boolean canLayoutCore(LayoutGraph graph)
true
. Yes we can handle anything!
canLayoutCore
in class CanonicMultiStageLayouter
public void doLayoutCore(LayoutGraph graph)
doLayoutCore
in class CanonicMultiStageLayouter
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |