executorlib.task_scheduler.interactive.dependency_plot.generate_nodes_and_edges_for_plotting#
- executorlib.task_scheduler.interactive.dependency_plot.generate_nodes_and_edges_for_plotting(task_hash_dict: dict, future_hash_inverse_dict: dict) tuple[list, list][source]#
Generate nodes and edges for visualization.
- Parameters:
task_hash_dict (dict) – Dictionary mapping task hash to task information.
future_hash_inverse_dict (dict) – Dictionary mapping future hash to future object.
- Returns:
Tuple containing the list of nodes and the list of edges.
- Return type:
Tuple[list, list]