networkx.line_graph
networkx.stochastic_graph
Enter search terms or a module, class or function name.
Returns induced subgraph of neighbors centered at node n.
G : graph
A NetworkX Graph or DiGraph
n : node
A single node
center : bool, optional
If False, do not include center node in graph