public enum SubgraphPlacement extends Enum<SubgraphPlacement>
PartialLayout.getSubgraphPlacement()| Enum Constant and Description |
|---|
BARYCENTER
A positioning strategy which tries to place each subgraph component close to the barycenter of its graph neighbors.
|
FROM_SKETCH
A positioning strategy which tries to place each subgraph component close to its original position.
|
| Modifier and Type | Method and Description |
|---|---|
static SubgraphPlacement |
fromOrdinal(int ordinal) |
int |
value() |
static SubgraphPlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubgraphPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubgraphPlacement BARYCENTER
public static final SubgraphPlacement FROM_SKETCH
PartialLayout.setSubgraphPlacement(SubgraphPlacement)public static final SubgraphPlacement fromOrdinal(int ordinal)
public int value()
public static SubgraphPlacement 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 SubgraphPlacement[] values()
for (SubgraphPlacement c : SubgraphPlacement.values()) System.out.println(c);