Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 620 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 620 Bytes

adjMatrix2Graph

This repository consist of two files,

  1. test.csv: which is the input data (adjecency matrix)
  2. run_this.py: this file can create graphs based on the adjecency matrix provided

Dependencies: Following python packages will be required to run this code

  1. pandas:
    pip install panda
  2. networkx:
    pip install networkx
  3. matplotlib:
    pip install matplotlib

On running run_this.py file, a test.edgelist file will be generated which is edgelist formed from the adjecency matrix.

Download this repository, navigate to the downloaded directory and run the following command

python run_this.py