public bool isConexo() { Grafoc G = new Grafoc(NumeroV); GrafoM solucao = new GrafoM(G); solucao.buscaProfundidade(); if (solucao.componentes == 1) return true; else return false; }