Interface mxGraphHierarchyModel.CellVisitor
- Enclosing class:
mxGraphHierarchyModel
public static interface mxGraphHierarchyModel.CellVisitor
Defines the interface that visitors use to perform operations upon the
graph information during depth first search (dfs) or other tree-traversal
strategies implemented by subclassers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(mxGraphHierarchyNode parent, mxGraphHierarchyNode cell, mxGraphHierarchyEdge connectingEdge, int layer, int seen) The method within which the visitor will perform operations upon the graph model
-
Method Details
-
visit
void visit(mxGraphHierarchyNode parent, mxGraphHierarchyNode cell, mxGraphHierarchyEdge connectingEdge, int layer, int seen) The method within which the visitor will perform operations upon the graph model- Parameters:
parent
- the parent cell the current cellcell
- the current cell visitedconnectingEdge
- the edge that led the last cell visited to this celllayer
- the current layer of the treeseen
- an int indicating whether this cell has been seen previously
-