graph: don't handle multiple recipes just yet
This commit is contained in:
parent
bd7f7dd743
commit
be1b69fe03
5
graph.py
5
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("}")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user