get_graph: Convert a function map to a directed graph

Description Usage Arguments Value

View source: R/graphs.R

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

1
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.


MangoTheCat/functionMap documentation built on May 7, 2019, 2:10 p.m.