项目作者: brunaostii

项目描述 :
Generates a figure through an adjacency matrix
高级语言: Python
项目地址: git://github.com/brunaostii/graph_plot_library.git
创建时间: 2019-01-11T16:37:49Z
项目社区:https://github.com/brunaostii/graph_plot_library

开源协议:GNU General Public License v3.0

下载


Graph’s Plot Library

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:

  • 2’s Plot:
    PLOT 2

  • 3’s Plot:
    PLOT 3



Author:

  • Bruna Almeida Osti