property graphicle.data.AdjacencyList.matrix : ndarray[Any, dtype[float64]] | ndarray[Any, dtype[int32]][source]

Exposes the adjacency as a dense matrix, \(A_{ij}\).

Changed in version 0.2.4: Duplicate edges are added together.

Notes

For instances which have set weights attribute, the nonzero output will be equal to the weights. Otherwise nonzero elements will be an integer. For a single edge between two vertices, this will be 1.

For both the weighted and unweighted case, if several edges connect vertex pairs, their entries will be summed to produce the dense matrix. This may cause loss of information.


Last update: Jun 27, 2025