Unexpected values in NetworkX to_numpy_array output for parallel edges
When converting a NetworkX MultiGraph or MultiDiGraph that contains parallel edges to a NumPy array using to_numpy_array with a weight attribute, the resulting matrix may show values that do not match any single edge weight. The function’s documentation does not state how it combines the weights of parallel edges, so users cannot determine whether the values