This library generates a figure through an adjacency matrix, this being only a plot, or counting on: 2, 3, 4 or 6 subplots in the same figure.
You can import through the code below:from Graph import Adjacency
First, we must send to the object the number of vertices we will use, as in the example below:
Object = Adjacency(qt_nodes)
The next step is to choose the amount of subplots in the figure, the library suports 1, 2, 3, 4, or 6 subplots in the same figure.Where, the signatures of the methods will always have the structure below:
Object.Plot_Graph1(adjacency_matrix, 'title')
The only thing that changes is that in the signature of the method the number changes according to quantity.
Obs: The *title* it's not mandatory. For example, for the 2's plot:
Object.Plot_Graph2(adjacency_matrix1, adjacency_matrix2, 'title1', 'title2')
FIGURES:
Author:
- Bruna Almeida Osti