Plotter - AmitSheer/DWGraphWithAlgo GitHub Wiki

Module that uses Matplotlib to draw a graph.

Methods

  • plotter(graph: GraphInterface)
    finds the size of the frame needed to view the graph comfortably, then draws the nodes and edges.
  • put_nodes(graph: GraphInterface)
    draws all nodes in the graph
  • put_edges(graph: GraphInterface)
    draws all edges in the graph