Basically, you require n-1 edges, to make a connected graph with n nodes. I would like to know if there is any theory behind finding the number of distinct ways you can select the n-1 edges, from the total n(n-1)/2 edges that are possible, such that the graph remains connected.
Share
There are exactly
nn-2connected graphs with vertex set{1,...n}forn > 0. This result is known as Cayley’s Formula.