Skip to content

Plotter

AmitSheer edited this page Jan 8, 2021 · 2 revisions

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

Clone this wiki locally