N
- The node type for the graphE
- The edge type for the graphpublic class DiagonalArrangement<N,E> extends AbstractArrangement<N> implements GraphArrangement<N,E>
Constructor and Description |
---|
DiagonalArrangement() |
Modifier and Type | Method and Description |
---|---|
void |
arrange(Graph<N,E> graph)
Arranges the specified Graph
|
int |
getSpacing()
Get the spacing value.
|
boolean |
isCondensed()
Determines whether the arrangement should be condensed or not.
|
void |
setCondensed(boolean condensedFlag)
Sets a flag which determines whether to use a condensed format, in which
the nodes are forced to fit in the available space (ignoring the minimum
spacing) or alternately extend beyond the actual arrangement boundaries
|
void |
setSpacing(int space)
Sets the minimum spacing between nodes.
|
getMargin, getNodeLocation, getSize, invalidate, setMargin, setNodeLocation, setSize, setSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNodeLocation, getSize, setMargin, setSize, setSize
public void arrange(Graph<N,E> graph)
arrange
in interface GraphArrangement<N,E>
graph
- the graph to be arrangedpublic int getSpacing()
public boolean isCondensed()
public void setCondensed(boolean condensedFlag)
condensedFlag
- the Condensed Arrangement flagpublic void setSpacing(int space)
space
- the minimum spacing between nodes.