Package com.pnfsoftware.jeb.client.api
Enum Class GraphDialogExtensions.LayoutMode
java.lang.Object
java.lang.Enum<GraphDialogExtensions.LayoutMode>
com.pnfsoftware.jeb.client.api.GraphDialogExtensions.LayoutMode
- All Implemented Interfaces:
Serializable
,Comparable<GraphDialogExtensions.LayoutMode>
,Constable
- Enclosing class:
- GraphDialogExtensions
Graph rendering mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForce-directed centrality.Similar toFDC
, however after rendering, weights and scores of all vertices are reset to 0, making every node on the graph effectively equivalent, weight-wise, to any other. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GraphDialogExtensions.LayoutMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FDC
Force-directed centrality. An internal layout is determined based on node centrality (derived from user-provided weight as well as edge-betweenness scores); that layout is modified by the repeated application of a force-directed algorithm until a relatively stable layout is obtained. -
FDC_NO_WEIGHT
Similar toFDC
, however after rendering, weights and scores of all vertices are reset to 0, making every node on the graph effectively equivalent, weight-wise, to any other. Practically, that means all vertices will have the same size or colors shades.
-
-
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
-