Description: This function plots the dep_map from build_dependency_map(), by first passing it through get_edges_from_map() to convert it from a list of data frames to a unified edge list, which is then used in a visNetwork plot. This is then saved to the output path with the output name (both defined in funcMapper) as an HTML file.
plot_dependency_graph(
dep_map,
output_path,
output_name,
main_node = script_name
)A visNetwork plot of the user created function map, saved to the output path
A named list of data frames, where each data frame contains the dependencies of a user-defined function.
path to save function map to (defined in funcMapper)
name of the function map (defined in funcMapper)
this is always set to the script name, generated from script path in funcMapper. Used to highlight main script node in red.
Author: Antonio Fratamico Date: 10/07/2025