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

public static enum GraphDialogExtensions.LayoutMode extends Enum<GraphDialogExtensions.LayoutMode>
Graph rendering mode.
  • Enum Constant Details

    • FDC

      public static final GraphDialogExtensions.LayoutMode 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

      public static final GraphDialogExtensions.LayoutMode FDC_NO_WEIGHT
      Similar to FDC, 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

      public static GraphDialogExtensions.LayoutMode[] 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

      public static GraphDialogExtensions.LayoutMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null