I was reading the first answer to this question, where the answer refers to a book by F. Harary and E.M. Palmer. In the book on page 8, they provide the following result:
Theorem: The exponential generating functions $G(x)$ and $C(x)$ for labeled graphs and labeled connected graphs come to terms in the following relation $$1+G(x) = e^{C(x)}$$
What is intriguing to me is the following statement (the last paragraph of page 8) :
Furthermore, it is evident that if the exponential generating function for a class of graphs is known, then the exponential generating function for the corresponding connected graphs will be the formal logarithm of the first series, just as in (1 .2.6) for all graphs
1.2.6 is the equation above.
So if I have a generating function, $G'(x)$, for any arbitrary property,$P(a)$, on labelled graphs, then I can find generating function for a labelled graph which obeys $P(a)$ and is connected as follows:
$$1+G'(x) = e^{C'(x)}$$
Where $C'(x)$ is the generating function for the connected graph such that it obeys $P(a)$.
Is my understanding of the statement correct ? So for example if $G'(x)$ is the generating function for 2-regular graphs then the generating function for $C'(x)$ i.e connected 2-regular graphs is given as follows : $$C'(x) = \log(1+G'(x))$$