functionMap (version 1.0.0)

get_graph: Convert a function map to a directed graph

Description

The graph is represented as an adjacency list. It is a named list of character vectors, and a character vector contains the successors of the vertex.

Usage

get_graph(map, only_me = TRUE)

Arguments

map
The function map.
only_me
Whether to include only the functions under study (i.e. the functions defined in the script(s) or the package), or all functions called by them as well.

Value

The graph as an adjacency list.