File size: 325 Bytes
86f8f81 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | from pathlib import Path
from app import build_ask_workflow
OUTPUT_FILE = Path("ask_workflow.png")
if __name__ == "__main__":
workflow = build_ask_workflow()
png_bytes = workflow.get_graph(xray=True).draw_mermaid_png()
OUTPUT_FILE.write_bytes(png_bytes)
print(f"PNG generiert: {OUTPUT_FILE.resolve()}") |