My problem is best explained using an example. Suppose we have a graph of $6$ vertices. I would like to generate all the possible edge combinations this graph would have, including the graph with zero edges. Is it right to say that the number of possible combinations would be $6!$?
Is there an existing algorithm recursive or iterative which outputs such a list of combinations for example on MATLAB?
I require this because I am trying to build an algorithm which outputs all possible combinations of a neural network given the number of layers and edges, so this would indeed require some further conditions applied upon it, but I imagine that the upperbound for the number of possibilites should not exceed $6!$.
As has been pointed out in the comments, for a graph with $n$ nodes, there will be $$\large 2^{n \choose 2} = 2^\frac{n(n+1)}{2}$$ distinct labeled graphs. Of course, relabeling will indeed show that many are equivalent. This sequence on OEIS lists the number of isomorphism types.
To my knowledge, Matlab doesn't have the kind of functionality your'e looking for. However, Sage does. (Well, it can generate all isomorphism types of graphs, which I'm sure can be tweaked to only list their edges, if you want). Here's their documentation on undirected graphs. A statement like,
would let you work each representative of isomorphism classes of graphs with $5$ nodes, one at a time. There are quite a few of these for large values of $n$, so don't expect things to go too quickly!