# 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