|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Splitter
This interface defines methods for an algorithm that can split the given graph in two walls. It can be used as a WallSplitter for the SugiyamaLayout class.
Method Summary | |
---|---|
void |
afterSplit(Graph graph)
This method will be run after the graph was split. |
void |
beforeSplit(Graph graph)
This method will be run before the graph will be split. |
int |
getWall(Graph graph,
Node node,
int index)
Returns the id of the wall for the given node. |
Method Detail |
---|
int getWall(Graph graph, Node node, int index)
graph
- the Graph objectnode
- the Node objectindex
- the index of the Node in the given Graphvoid beforeSplit(Graph graph)
graph
- the Graph objectvoid afterSplit(Graph graph)
graph
- the Graph object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |