def neighbors(self, key):
        """Return dict of neighbor atom index and connecting bond."""
        return {n: attr["bond"] for n, attr in self.graph[key].items()}
Return dict of neighbor atom index and connecting bond.