Skip to content

A python code for creating a graph from adjacency matrices given in csv format.

License

Notifications You must be signed in to change notification settings

sumeghhp/adjMatrix2Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A python code for creating a graph from adjacency matrices given in csv format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages