A caterpillar or caterpillar tree is a tree in which all the vertices are within distance 1 of a central path.
From Wikipedia, I see that their count is also available in OEIS A005418. My question is, given $n$ vertices, is there a program to generate them? For example, I want to obtain all caterpillar graphs with 11 vertices.