public void Dispose()
 {
     Graph = default(TGraph);
     VertexPositions.Clear();
     VisibleEdges.Clear();
     AlgorithmStorage = null;
 }
Beispiel #2
0
 public GraphState(string id, TGraph graph, IAlgorithmStorage <TVertex, TEdge> storage, Dictionary <TVertex, Point> vPos, List <TEdge> vEdges, string description = "")
 {
     ID               = id;
     Graph            = graph;
     Description      = description;
     VertexPositions  = vPos;
     VisibleEdges     = vEdges;
     AlgorithmStorage = storage;
 }