graph: don't handle multiple recipes just yet
This commit is contained in:
parent
bd7f7dd743
commit
be1b69fe03
3
graph.py
3
graph.py
@ -9,8 +9,7 @@ from typing import Dict
|
|||||||
def graph_all(recipes: dict) -> None:
|
def graph_all(recipes: dict) -> None:
|
||||||
print("digraph G {")
|
print("digraph G {")
|
||||||
for result, method in recipes.items():
|
for result, method in recipes.items():
|
||||||
for variation in method:
|
for i in method[0]["input"]:
|
||||||
for i in variation["input"]:
|
|
||||||
print(f"{i} -> {result}")
|
print(f"{i} -> {result}")
|
||||||
print("}")
|
print("}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user