public enum LayoutStyle extends Enum<LayoutStyle>
CircularLayout.getLayoutStyle()
Enum Constant and Description |
---|
BCC_COMPACT
The specifier for a layout style where the nodes within a biconnected component of the input graph are treated as
separate partitions.
|
BCC_ISOLATED
The specifier for a layout style where the nodes within a biconnected component of the input graph are treated as
separate partitions.
|
CUSTOM_GROUPS
The specifier for a layout style where the user can specify groups that will form separate partitions.
|
SINGLE_CYCLE
The specifier for a layout style where all nodes of the input graph will be placed on or in the interior of a single
cycle.
|
Modifier and Type | Method and Description |
---|---|
static LayoutStyle |
fromOrdinal(int ordinal) |
int |
value() |
static LayoutStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutStyle BCC_COMPACT
If a node belongs to more than one biconnected component, it will be assigned to the one that seems to be more suitable.
public static final LayoutStyle BCC_ISOLATED
If a node belongs to more than one biconnected component, it will form an isolated partition and will be laid out in between of all its biconnected component cycles.
public static final LayoutStyle CUSTOM_GROUPS
IDataProvider
with key CircularLayout.CUSTOM_GROUPS_DPKEY
must be registered.public static final LayoutStyle SINGLE_CYCLE
public static final LayoutStyle fromOrdinal(int ordinal)
public int value()
public static LayoutStyle valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static LayoutStyle[] values()
for (LayoutStyle c : LayoutStyle.values()) System.out.println(c);