Dependency policy

The core package is intentionally small.

Required runtime dependencies

  • pydantic>=2
  • resvg>=0.2.0

Base-install outputs

These work without optional extras:

  • SVG
  • HTML
  • Mermaid text
  • PNG
  • JSON

Optional extras

Extra Purpose
prisma-flow[yaml] YAML input/output through PyYAML.

PNG rasterization is included in the base install because most users need image files for manuscripts, presentations, and notebook workflows. The resvg dependency is a pip-installable Python package and does not require Graphviz, Cairo, a browser engine, or Node.

Not required

The package does not require:

  • Graphviz
  • Cairo or CairoSVG
  • Node
  • Mermaid CLI
  • Inkscape
  • Playwright
  • browser engines
  • Matplotlib
  • Plotly

Documentation is built with Quarto, but Quarto is a development/documentation tool and not a runtime dependency of prisma-flow.