netkit.util
Class GraphView
java.lang.Object
netkit.util.GraphView
public final class GraphView
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphView
public GraphView(Graph graph)
reset
public void reset()
getGraph
public Graph getGraph()
resetWeights
public void resetWeights()
removeNewEdges
public void removeNewEdges()
addEdges
public void addEdges(Edge[] edges)
- Assumes EdgeType is same for all edges. This is not checked.
- Parameters:
edges
-
enhanceGraphWithAttributeEdges
public void enhanceGraphWithAttributeEdges(java.lang.String nodeType,
EdgeCreator[] edgeCreators,
java.util.Map<EdgeType,java.lang.Double> weightsByEdgeType,
boolean mergeEdges)