コード例 #1
0
 public void Dispose()
 {
     Graph = default(TGraph);
     VertexPositions.Clear();
     VisibleEdges.Clear();
     AlgorithmStorage = null;
 }
コード例 #2
0
ファイル: GraphState.cs プロジェクト: CreateIdea/BI_Wizard
 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;
 }