Usage,
mem_paths_shortest(snapshot, to, from = NULL)

mem_paths_simple(snapshot, to, from = NULL)

Arguments

snapshot

A memory snapshot data frame created by mem_snapshot().

to, from

Nodes from the node column of snapshot. If from is not supplied, the paths from the root are taken by default. Can also be indices into snapshot$node.