diff --git a/graph.py b/graph.py index 7bd909d..e2eedaf 100755 --- a/graph.py +++ b/graph.py @@ -9,9 +9,8 @@ from typing import Dict def graph_all(recipes: dict) -> None: print("digraph G {") for result, method in recipes.items(): - for variation in method: - for i in variation["input"]: - print(f"{i} -> {result}") + for i in method[0]["input"]: + print(f"{i} -> {result}") print("}")