iGraph adjacency matrix python
#create graph
g = igraph.Graph([[1,2], [2,3], [0,3]])
#Returns the adjacency matrix of a graph.
g.get_adjacency()
#Returns the adjacency matrix of a graph as a SciPy CSR matrix.
g.get_adjacency_sparse()
Sanek1710