Package | Description |
---|---|
com.mxgraph.layout.hierarchical.model |
Modifier and Type | Field and Description |
---|---|
mxGraphHierarchyNode |
mxGraphHierarchyEdge.source
The node this edge is sourced at
|
mxGraphHierarchyNode |
mxGraphHierarchyEdge.target
The node this edge targets
|
Modifier and Type | Field and Description |
---|---|
protected Map<Object,mxGraphHierarchyNode> |
mxGraphHierarchyModel.vertexMapper
Map from graph vertices to internal model nodes
|
Modifier and Type | Method and Description |
---|---|
Map<Object,mxGraphHierarchyNode> |
mxGraphHierarchyModel.getVertexMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
mxGraphHierarchyModel.createInternalCells(mxHierarchicalLayout layout,
Object[] vertices,
mxGraphHierarchyNode[] internalVertices)
Creates all edges in the internal model
|
void |
mxGraphHierarchyModel.dfs(mxGraphHierarchyNode parent,
mxGraphHierarchyNode root,
mxGraphHierarchyEdge connectingEdge,
mxGraphHierarchyModel.CellVisitor visitor,
Set<mxGraphHierarchyNode> seen,
int layer)
Performs a depth first search on the internal hierarchy model
|
void |
mxGraphHierarchyModel.dfs(mxGraphHierarchyNode parent,
mxGraphHierarchyNode root,
mxGraphHierarchyEdge connectingEdge,
mxGraphHierarchyModel.CellVisitor visitor,
Set<mxGraphHierarchyNode> seen,
int[] ancestors,
int childHash,
int layer)
Performs a depth first search on the internal hierarchy model.
|
boolean |
mxGraphHierarchyNode.isAncestor(mxGraphHierarchyNode otherNode) |
void |
mxGraphHierarchyModel.visit(mxGraphHierarchyModel.CellVisitor visitor,
mxGraphHierarchyNode[] dfsRoots,
boolean trackAncestors,
Set<mxGraphHierarchyNode> seenNodes)
A depth first search through the internal hierarchy model
|
void |
mxGraphHierarchyModel.CellVisitor.visit(mxGraphHierarchyNode parent,
mxGraphHierarchyNode cell,
mxGraphHierarchyEdge connectingEdge,
int layer,
int seen)
The method within which the visitor will perform operations upon the
graph model
|
Modifier and Type | Method and Description |
---|---|
void |
mxGraphHierarchyModel.dfs(mxGraphHierarchyNode parent,
mxGraphHierarchyNode root,
mxGraphHierarchyEdge connectingEdge,
mxGraphHierarchyModel.CellVisitor visitor,
Set<mxGraphHierarchyNode> seen,
int layer)
Performs a depth first search on the internal hierarchy model
|
void |
mxGraphHierarchyModel.dfs(mxGraphHierarchyNode parent,
mxGraphHierarchyNode root,
mxGraphHierarchyEdge connectingEdge,
mxGraphHierarchyModel.CellVisitor visitor,
Set<mxGraphHierarchyNode> seen,
int[] ancestors,
int childHash,
int layer)
Performs a depth first search on the internal hierarchy model.
|
void |
mxGraphHierarchyModel.setVertexMapper(Map<Object,mxGraphHierarchyNode> vertexMapping) |
void |
mxGraphHierarchyModel.visit(mxGraphHierarchyModel.CellVisitor visitor,
mxGraphHierarchyNode[] dfsRoots,
boolean trackAncestors,
Set<mxGraphHierarchyNode> seenNodes)
A depth first search through the internal hierarchy model
|
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.