executorlib.task_scheduler.interactive.dependency_plot.export_dependency_graph_function

executorlib.task_scheduler.interactive.dependency_plot.export_dependency_graph_function#

executorlib.task_scheduler.interactive.dependency_plot.export_dependency_graph_function(node_lst: list, edge_lst: list, file_name: str = 'workflow.json')[source]#

Export the graph visualization of nodes and edges as a JSON dictionary.

Parameters:
  • node_lst (list) – List of nodes.

  • edge_lst (list) – List of edges.

  • file_name (str) – Name of the file to store the exported graph in.