graph
Usage
prism graph
is used to render your project as a series of nodes and edges (i.e., a graph) and launch an interactive UI for visualizing this graph.
Usage: prism graph [OPTIONS]
Launch the Prism Visualizer UI to view your project as a graph. This is the CLI equivalent of calling
PrismProject.graph(...) in your Python script.
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --project-id TEXT Project ID. โ
โ --project-name TEXT Project name. โ
โ --project-version TEXT Project version. โ
โ * --tasks-dir TEXT Directory containing tasks. Default is the โ
โ "tasks" folder in the current directory. โ
โ [required] โ
โ --port -p INTEGER Port used by the webserver for launching the UI. โ
โ Default is 8000. โ
โ --open-window Open the visualizer UI in a new window in your โ
โ default web browswer. โ
โ --hot-reload Update the project's graph after each local โ
โ change โ
โ --log-level -l [info|warning|error|debug|critical] Set the log level โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
The CLI arguments are largely the same as the arguments used to instantiate the PrismProject
and call the PrismProject.graph()
method. However, note that the CLI command ignores connectors
, callbacks
, concurrency
, and package_lookups
. These inputs do not affect the graph
command's behavior.
Example
Here's what an example project looks like:

Last updated