Enum Class LayoutUtil.DefaultLayout
- All Implemented Interfaces:
Serializable, Comparable<LayoutUtil.DefaultLayout>, Constable
- Enclosing class:
LayoutUtil
The layouts that can serve as the default layout: the ones that need
nothing but the graph. See
LayoutUtil.setDefaultLayout(DefaultLayout).- Version:
- $Id: $Id
- Author:
- josephramsey
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRows by causal order; seeLayoutUtil.layoutByCausalOrder(Graph, NodeSize).The circle; seeLayoutUtil.circleLayout(Graph, NodeSize).Fruchterman-Reingold; seeLayoutUtil.FruchtermanReingoldLayout.Kamada-Kawai, with its standard parameters (natural edge length 80, spring constant 0.2, stop energy 1, not randomly initialized); seeLayoutUtil.kamadaKawaiLayout(Graph, boolean, double, double, double).Richard's layout; seeLayoutUtil.richardsLayout(Graph, NodeSize).The square; seeLayoutUtil.squareLayout(Graph). -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutUtil.DefaultLayoutReturns the enum constant of this class with the specified name.static LayoutUtil.DefaultLayout[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RICHARDS
Richard's layout; seeLayoutUtil.richardsLayout(Graph, NodeSize). -
CIRCLE
The circle; seeLayoutUtil.circleLayout(Graph, NodeSize). -
SQUARE
The square; seeLayoutUtil.squareLayout(Graph). -
FRUCHTERMAN_REINGOLD
Fruchterman-Reingold; seeLayoutUtil.FruchtermanReingoldLayout. -
KAMADA_KAWAI
Kamada-Kawai, with its standard parameters (natural edge length 80, spring constant 0.2, stop energy 1, not randomly initialized); seeLayoutUtil.kamadaKawaiLayout(Graph, boolean, double, double, double). -
CAUSAL_ORDER
Rows by causal order; seeLayoutUtil.layoutByCausalOrder(Graph, NodeSize).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-