diff --git a/R/structural.properties.R b/R/structural.properties.R index ca1029e1420..9e8b77f753e 100644 --- a/R/structural.properties.R +++ b/R/structural.properties.R @@ -788,10 +788,17 @@ degree_distribution <- function(graph, cumulative = FALSE, ...) { #' was not requested.} \item{inbound_edges}{Numeric vector, the inbound edge #' for each vertex, or `NULL`, if it was not requested.} #' -#' For `all_shortest_paths()` a list is returned, each list element -#' contains a shortest path from `from` to a vertex in `to`. The -#' shortest paths to the same vertex are collected into consecutive elements -#' of the list. +#' For `all_shortest_paths()` a list is returned: +#' \item{vpaths}{This is a list. Each list element +#' contains the vertices of a shortest path from `from` to a vertex in `to`. +#' The shortest paths to the same vertex are collected +#' into consecutive elements of the list.} +#' \item{epaths}{This is a list similar to vpaths, +#' but the vectors of the list contain the edge ids along the shortest paths, +#' instead of the vertex ids.} +#' \item{nrgeo}{A vector in which each element is the number of shortest paths +#' (geodesics) from `from` to the corresponding vertex in `to`.} +#' \item{res}{Deprecated} #' #' For `mean_distance()` a single number is returned if `details=FALSE`, #' or a named list with two entries: `res` is the mean distance as a numeric diff --git a/man/closeness.Rd b/man/closeness.Rd index 0502a7f28f3..dc860d003ed 100644 --- a/man/closeness.Rd +++ b/man/closeness.Rd @@ -43,7 +43,7 @@ Numeric vector with the closeness values of all the vertices in \code{v}. } \description{ -Closeness centrality measures how many steps is required to access every other +Closeness centrality measures how many steps are required to access every other vertex from a given vertex. } \details{ diff --git a/man/distances.Rd b/man/distances.Rd index 36a86e62ddf..6fa25b81e6c 100644 --- a/man/distances.Rd +++ b/man/distances.Rd @@ -144,10 +144,17 @@ predecessor of each vertex in the \code{to} argument, or \code{NULL} if it was not requested.} \item{inbound_edges}{Numeric vector, the inbound edge for each vertex, or \code{NULL}, if it was not requested.} -For \code{all_shortest_paths()} a list is returned, each list element -contains a shortest path from \code{from} to a vertex in \code{to}. The -shortest paths to the same vertex are collected into consecutive elements -of the list. +For \code{all_shortest_paths()} a list is returned: +\item{vpaths}{This is a list. Each list element +contains the vertices of a shortest path from \code{from} to a vertex in \code{to}. +The shortest paths to the same vertex are collected +into consecutive elements of the list.} +\item{epaths}{This is a list similar to vpaths, +but the vectors of the list contain the edge ids along the shortest paths, +instead of the vertex ids.} +\item{nrgeo}{A vector in which each element is the number of shortest paths +(geodesics) from \code{from} to the corresponding vertex in \code{to}.} +\item{res}{Deprecated} For \code{mean_distance()} a single number is returned if \code{details=FALSE}, or a named list with two entries: \code{res} is the mean distance as a numeric