Could the functions eccentricity() and radius() be updated to support weighted graphs, similar to how distances() and diameter() do when passed the weights argument?
I know I can calculate eccentricity and radius for a weighted graph like this:
g <- sample_pa(1000, directed = FALSE)
E(g)$weight <- runif(ecount(g))
my_eccentricity <- apply(distances(g), 1, max)
my_radius <- min(my_eccentricity)
However, for consistency and usability, I think it would be better if eccentricity() and radius() accepted a weights argument like distances() and diameter().