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:
|
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