com.jgraph.layout.hierarchical.model
public class JGraphHierarchyEdge extends JGraphAbstractHierarchyCell
Field Summary | |
---|---|
List | edges
The graph edge(s) this object represents. |
protected boolean | isReversed
Whether or not the direction of this edge has been reversed
internally to create a DAG for the hierarchical layout |
JGraphHierarchyNode | source
The node this edge is sourced at |
JGraphHierarchyNode | target
The node this edge targets |
Constructor Summary | |
---|---|
JGraphHierarchyEdge(List edges)
Constructs a hierarchy edge |
Method Summary | |
---|---|
int | getGeneralPurposeVariable(int layer)
Gets the value of temp for the specified layer
|
List | getNextLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer up |
List | getPreviousLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer down |
void | invert()
Inverts the direction of this internal edge(s) |
boolean | isEdge() |
boolean | isReversed() |
boolean | isVertex() |
void | setGeneralPurposeVariable(int layer, int value)
Set the value of temp for the specified layer
|
void | setReversed(boolean isReversed) |
Parameters: edges a list of real graph edges this abstraction represents
Parameters: layer the layer relating to a specific entry into temp
Returns: the value for that layer
Parameters: layer the layer this cell is on
Returns: the cells this cell connects to on the next layer up
Parameters: layer the layer this cell is on
Returns: the cells this cell connects to on the next layer down
Returns: whether or not this cell is an edge
Returns: Returns the isReversed.
Returns: whether or not this cell is a node
Parameters: layer the layer relating to a specific entry into temp value the value for that layer
Parameters: isReversed The isReversed to set.