Graph Representation In Python Mean