kinbaku.Graph.adjacency_matrix

Graph.adjacency_matrix(weight=None)[source]

Return adjacency matrix of the graph

Parameters

weight (str) – NOT IMPLEMENTED! Weight attribute

Returns

sparse matrix representing the graph

Return type

scipy.sparse.csr_matrix