Examples
The repository includes runnable examples in examples/.
JSON input
prisma-flow validate examples/basic_new_review.json
prisma-flow render examples/basic_new_review.json -o examples/output/basic_new_review.svgPython script
python examples/basic_new_review.pyThe script writes SVG, HTML, Mermaid, and JSON outputs to examples/output/.
YAML input
YAML input requires the optional YAML extra:
pip install "prisma-flow[yaml]"
prisma-flow render examples/basic_new_review.yaml -o examples/output/basic_new_review.svg