'Return the graph as a nested list.
Passes **kwargs back to the format_callback as kwargs.'

def nested(self, format_callback=None, **kwargs):

    roots = []
    for key in self.seen.keys():
        if (key not in self.parents):
            roots.extend(self._nested(key, format_callback, **kwargs))
    return roots
