public Vertex(Figure c, int id) { this.id = id; this.circle = c; this.ListEdge = new List <Edge>(); }
public Vertex(Vertex v) { this.id = v.id; this.circle = v.circle; this.ListEdge = new List <Edge>(); }
public void addVertex(Figure circle, int id) { //cada nuevo circulo que entre se agregara al grafo listVertex.Add(new Vertex(circle, id)); }