def info ( docgraph ) : print networkx . info ( docgraph ) , '\n' node_statistics ( docgraph ) print edge_statistics ( docgraph )
how to show text on edge in networkx python
print node and edge statistics of a document graph
def info(docgraph):
    """print node and edge statistics of a document graph"""
    print networkx.info(docgraph), '\n'
    node_statistics(docgraph)
    print
    edge_statistics(docgraph)