weight (string or None, optional(default=``’weight’``)) – The edge data key used to compute each value in the matrix.
If None, then each edge has weight 1.
Returns
evals – Eigenvalues
Return type
NumPyarray
Notes
For MultiGraph/MultiDiGraph, the edges weights are summed.
See to_numpy_matrix for other options.