GraphFrame - HelenYunes/OOP_Ex3 GitHub Wiki

GraphFrame class:

This class plots the graph - implemented using matplotlib. If the nodes have a position, the nodes will be placed there. Otherwise, they will be placed in a random but elegant manner.

Examples of graphs with vertices at random locations:

random locations

random locations

Example of a graph with nodes that have positions in the Jason file:

given positions nodes