Generate all ancestors of the Compound recursively.
mb.Compound – The next Compound above self in the hierarchy
Bead.ancestors()
mbuild_polybuild.cg_monomers.bead.Bead.all_ports
mbuild_polybuild.cg_monomers.bead.Bead.available_ports