de.cau.cs.kieler.klay.layered.intermediate
Enum IntermediateLayoutProcessor

java.lang.Object
  extended by java.lang.Enum<IntermediateLayoutProcessor>
      extended by de.cau.cs.kieler.klay.layered.intermediate.IntermediateLayoutProcessor
All Implemented Interfaces:
Comparable<IntermediateLayoutProcessor>

public enum IntermediateLayoutProcessor
extends Enum<IntermediateLayoutProcessor>

Definition of available intermediate layout processors for the layered layouter. This enumeration also serves as a factory for intermediate layout processors.

Rating red

Enum Constant Summary
BIG_NODES_PROCESSOR
          Splits big nodes into multiple layers to distribute them better and reduce whitespace.
COMMENT_POSTPROCESSOR
          Reinserts and places comment boxes that have been removed before.
COMMENT_PREPROCESSOR
          Removes some comment boxes to place them separately in a post-processor.
COMPOUND_CYCLE_PROCESSOR
          Handles cyclic dependencies of compound nodes.
COMPOUND_DUMMY_EDGE_REMOVER
          Removes layering constraint dummy edges from compound graphs.
COMPOUND_GRAPH_RESTORER
          Removes dummy nodes and -edges from compound graph representation, positioning of compound nodes.
COMPOUND_SIDE_PROCESSOR
          Inserts dummy nodes and edges to achieve free drawing space for compound node borders.
DOWN_DIR_POSTPROCESSOR
          Transposes the graph to perform a top-bottom drawing.
DOWN_DIR_PREPROCESSOR
          Transposes the graph to perform a top-bottom drawing.
EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER
          Makes sure nodes with layer constraints have only incoming or only outgoing edges.
HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR
          Handles northern and southern hierarchical ports.
HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR
          Adjusts the width of hierarchical port dummy nodes.
HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER
          Routes edges incident to hierarchical ports orthogonally.
HIERARCHICAL_PORT_POSITION_PROCESSOR
          Fix coordinates of hierarchical port dummy nodes.
HYPEREDGE_DUMMY_MERGER
          Merges long edge dummy nodes belonging to the same hyperedge.
HYPERNODE_PROCESSOR
          Moves hypernodes horizontally for better placement.
IN_LAYER_CONSTRAINT_PROCESSOR
          Makes sure that in-layer constraints are handled.
INVERTED_PORT_PROCESSOR
          Takes a layered graph and inserts dummy nodes for edges connected to inverted ports.
LAYER_CONSTRAINT_PROCESSOR
          Makes sure that layer constraints are taken care of.
LEFT_DIR_POSTPROCESSOR
          Mirrors the graph to perform a right-to-left drawing.
LEFT_DIR_PREPROCESSOR
          Mirrors the graph to perform a right-to-left drawing.
LONG_EDGE_JOINER
          Takes a properly layered graph and removes the dummy nodes due to proper layering.
LONG_EDGE_SPLITTER
          Takes a layered graph and turns it into a properly layered graph.
NODE_MARGIN_CALCULATOR
          Calculates the margins of nodes according to the sizes of ports and labels.
NORTH_SOUTH_PORT_POSTPROCESSOR
          Removes dummy nodes inserted by the north south side preprocessor and routes edges.
NORTH_SOUTH_PORT_PREPROCESSOR
          Inserts dummy nodes to take care of northern and southern ports.
PORT_LIST_SORTER
          Orders the port lists of nodes with fixed port order.
PORT_POSITION_PROCESSOR
          Sets the positions of ports.
PORT_SIDE_PROCESSOR
          Makes sure nodes have at least fixed port sides.
REVERSED_EDGE_RESTORER
          Takes the reversed edges of a graph and restores their original direction.
SELF_LOOP_PROCESSOR
          Takes care of self loops.
SUBGRAPH_ORDERING_PROCESSOR
          Makes sure that subgraphs are in same relative order on all levels.
UP_DIR_POSTPROCESSOR
          Mirrors and transposes the graph to perform a bottom-up drawing.
UP_DIR_PREPROCESSOR
          Mirrors and transposes the graph to perform a bottom-up drawing.
 
Method Summary
 ILayoutProcessor create()
          Creates an instance of the layout processor described by this instance.
static IntermediateLayoutProcessor valueOf(int i)
          Returns the enumeration value related to the given ordinal.
static IntermediateLayoutProcessor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IntermediateLayoutProcessor[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COMPOUND_CYCLE_PROCESSOR

public static final IntermediateLayoutProcessor COMPOUND_CYCLE_PROCESSOR
Handles cyclic dependencies of compound nodes.


LEFT_DIR_PREPROCESSOR

public static final IntermediateLayoutProcessor LEFT_DIR_PREPROCESSOR
Mirrors the graph to perform a right-to-left drawing.


DOWN_DIR_PREPROCESSOR

public static final IntermediateLayoutProcessor DOWN_DIR_PREPROCESSOR
Transposes the graph to perform a top-bottom drawing.


UP_DIR_PREPROCESSOR

public static final IntermediateLayoutProcessor UP_DIR_PREPROCESSOR
Mirrors and transposes the graph to perform a bottom-up drawing.


COMMENT_PREPROCESSOR

public static final IntermediateLayoutProcessor COMMENT_PREPROCESSOR
Removes some comment boxes to place them separately in a post-processor.


EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER

public static final IntermediateLayoutProcessor EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER
Makes sure nodes with layer constraints have only incoming or only outgoing edges.


BIG_NODES_PROCESSOR

public static final IntermediateLayoutProcessor BIG_NODES_PROCESSOR
Splits big nodes into multiple layers to distribute them better and reduce whitespace.


LAYER_CONSTRAINT_PROCESSOR

public static final IntermediateLayoutProcessor LAYER_CONSTRAINT_PROCESSOR
Makes sure that layer constraints are taken care of.


HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR

public static final IntermediateLayoutProcessor HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR
Handles northern and southern hierarchical ports.


COMPOUND_DUMMY_EDGE_REMOVER

public static final IntermediateLayoutProcessor COMPOUND_DUMMY_EDGE_REMOVER
Removes layering constraint dummy edges from compound graphs.


LONG_EDGE_SPLITTER

public static final IntermediateLayoutProcessor LONG_EDGE_SPLITTER
Takes a layered graph and turns it into a properly layered graph.


PORT_SIDE_PROCESSOR

public static final IntermediateLayoutProcessor PORT_SIDE_PROCESSOR
Makes sure nodes have at least fixed port sides.


INVERTED_PORT_PROCESSOR

public static final IntermediateLayoutProcessor INVERTED_PORT_PROCESSOR
Takes a layered graph and inserts dummy nodes for edges connected to inverted ports.


SELF_LOOP_PROCESSOR

public static final IntermediateLayoutProcessor SELF_LOOP_PROCESSOR
Takes care of self loops.


PORT_LIST_SORTER

public static final IntermediateLayoutProcessor PORT_LIST_SORTER
Orders the port lists of nodes with fixed port order.


NORTH_SOUTH_PORT_PREPROCESSOR

public static final IntermediateLayoutProcessor NORTH_SOUTH_PORT_PREPROCESSOR
Inserts dummy nodes to take care of northern and southern ports.


SUBGRAPH_ORDERING_PROCESSOR

public static final IntermediateLayoutProcessor SUBGRAPH_ORDERING_PROCESSOR
Makes sure that subgraphs are in same relative order on all levels.


IN_LAYER_CONSTRAINT_PROCESSOR

public static final IntermediateLayoutProcessor IN_LAYER_CONSTRAINT_PROCESSOR
Makes sure that in-layer constraints are handled.


HYPEREDGE_DUMMY_MERGER

public static final IntermediateLayoutProcessor HYPEREDGE_DUMMY_MERGER
Merges long edge dummy nodes belonging to the same hyperedge.


PORT_POSITION_PROCESSOR

public static final IntermediateLayoutProcessor PORT_POSITION_PROCESSOR
Sets the positions of ports.


NODE_MARGIN_CALCULATOR

public static final IntermediateLayoutProcessor NODE_MARGIN_CALCULATOR
Calculates the margins of nodes according to the sizes of ports and labels.


COMPOUND_SIDE_PROCESSOR

public static final IntermediateLayoutProcessor COMPOUND_SIDE_PROCESSOR
Inserts dummy nodes and edges to achieve free drawing space for compound node borders.


HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR

public static final IntermediateLayoutProcessor HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR
Adjusts the width of hierarchical port dummy nodes.


HIERARCHICAL_PORT_POSITION_PROCESSOR

public static final IntermediateLayoutProcessor HIERARCHICAL_PORT_POSITION_PROCESSOR
Fix coordinates of hierarchical port dummy nodes.


COMMENT_POSTPROCESSOR

public static final IntermediateLayoutProcessor COMMENT_POSTPROCESSOR
Reinserts and places comment boxes that have been removed before.


HYPERNODE_PROCESSOR

public static final IntermediateLayoutProcessor HYPERNODE_PROCESSOR
Moves hypernodes horizontally for better placement.


HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER

public static final IntermediateLayoutProcessor HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER
Routes edges incident to hierarchical ports orthogonally.


LONG_EDGE_JOINER

public static final IntermediateLayoutProcessor LONG_EDGE_JOINER
Takes a properly layered graph and removes the dummy nodes due to proper layering.


NORTH_SOUTH_PORT_POSTPROCESSOR

public static final IntermediateLayoutProcessor NORTH_SOUTH_PORT_POSTPROCESSOR
Removes dummy nodes inserted by the north south side preprocessor and routes edges.


REVERSED_EDGE_RESTORER

public static final IntermediateLayoutProcessor REVERSED_EDGE_RESTORER
Takes the reversed edges of a graph and restores their original direction.


COMPOUND_GRAPH_RESTORER

public static final IntermediateLayoutProcessor COMPOUND_GRAPH_RESTORER
Removes dummy nodes and -edges from compound graph representation, positioning of compound nodes.


LEFT_DIR_POSTPROCESSOR

public static final IntermediateLayoutProcessor LEFT_DIR_POSTPROCESSOR
Mirrors the graph to perform a right-to-left drawing.


DOWN_DIR_POSTPROCESSOR

public static final IntermediateLayoutProcessor DOWN_DIR_POSTPROCESSOR
Transposes the graph to perform a top-bottom drawing.


UP_DIR_POSTPROCESSOR

public static final IntermediateLayoutProcessor UP_DIR_POSTPROCESSOR
Mirrors and transposes the graph to perform a bottom-up drawing.

Method Detail

values

public static IntermediateLayoutProcessor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IntermediateLayoutProcessor c : IntermediateLayoutProcessor.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IntermediateLayoutProcessor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static IntermediateLayoutProcessor valueOf(int i)
Returns the enumeration value related to the given ordinal.

Parameters:
i - ordinal value
Returns:
the related enumeration value

create

public ILayoutProcessor create()
Creates an instance of the layout processor described by this instance.

Returns:
the layout processor.