Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.classes.function.info

info(G, n=None)[source]

Print short summary of information for the graph G or the node n.

Parameters
  • G (Networkx graph) – A graph

  • n (node (any hashable)) – A node in the graph G