Print short summary of information for the graph G or the node n.
G : Networkx graph
A graph
n : node (any hashable)
A node in the graph G