parameters: (self, format_callback=None)
return_statement: return roots
docstring: Return the graph as a nested list.
docstring_summary: Return the graph as a nested list.
docstring_tokens: Return the graph as a nested list .
function: def nested(self, format_callback=None):
          """
          Return the graph as a nested list.
  
          """
          seen = set()
          roots = []
          for root in self.edges.get(None, ()):
              roots.extend(self._nested(root, seen, format_callback))
          return roots
function_tokens: def nested ( self , format_callback = None ) : seen = set ( ) roots = [ ] for root in self . edges . get ( None , ( ) ) : roots . extend ( self . _nested ( root , seen , format_callback ) ) return roots