#NEWLINE# def subgraph( G , nbunch ) : #NEWLINE# #INDENT# 'Return the subgraph induced on nodes in nbunch.\n\n    Parameters\n    ----------\n    G : graph\n       A NetworkX graph\n\n    nbunch : list, iterable\n       A container of nodes that will be iterated through once (thus\n       it should be an iterator or be iterable).  Each element of the\n       container should be a valid node type: any hashable type except\n       None.  If nbunch is None, return all edges data in the graph.\n       Nodes in nbunch that are not in the graph will be (quietly)\n       ignored.\n\n    Notes\n    -----\n    subgraph(G) calls G.subgraph()\n    ' #NEWLINE# return G . subgraph ( nbunch )