pub fn adjacency_matrix(graph: &Graph) -> Vec<Vec<f64>>
Returns adjacency matrix as a flat n×n Vecf64.
n×n
f64