pub fn read_graph<T: Debug + Eq + From<usize>>( filename: &str, weight_type: WeightType, ) -> Vec<InputEdge<T>>