public void ClearVertexTargetSource(IEdgeMutableGraph g) { IVertex u = g.AddVertex(); IVertex v = g.AddVertex(); g.AddEdge(u, v); g.ClearVertex(v); g.ClearVertex(u); }
public void ClearVertexSourceTarget() { IEdgeMutableGraph g = Graph; IVertex v = g.AddVertex(); IVertex u = g.AddVertex(); g.AddEdge(u, v); g.ClearVertex(u); g.ClearVertex(v); }
public void ClearVertexTargetSource(IEdgeMutableGraph g) { IVertex u = g.AddVertex(); IVertex v = g.AddVertex(); g.AddEdge(u,v); g.ClearVertex(v); g.ClearVertex(u); }