Overview#
The Execution Graph is a powerful visual node-based automation system that allows you to create complex workflows without writing any code. Think of it as a visual programming language where you connect different nodes together to build sophisticated automations for your entire workflow.
With the Execution Graph, you can:
Automate repetitive tasks across your entire workflow
Create complex workflows using simple drag-and-drop operations
Build conditional logic and data processing chains
Integrate with external tools and services
Trigger automations based on pipeline events
Getting Started#
Check out the following guide to learn the basics of using the Execution Graph.
User Interface Guide#
Interface Overview#
The Execution Graph interface is designed for efficient workflow creation. Here's what each area does:
Node Parameters Panel - Configure settings for the currently selected node
Graph Settings Panel - Set up graph-wide options like descriptions and callback triggers
Graph Library Panel - Save, load, and organize your node graph templates
Creating Nodes#
Connecting Nodes#
Click and drag from any output port (right side of a node)
Drop onto a compatible input port (left side of another node)
The connection line will appear, showing your data flow
Execution ports (flow control) can only connect to other execution ports
Cycles are prevented - you cannot create loops that would cause infinite execution
Most input ports accept only one connection, but some special nodes like the Merge node can accept multiple inputs
Disconnecting Nodes#
Removing Nodes#
Working with Nested Graphs#
Group Node - Create reusable sub-workflows
For Each Node - Define iterative operations
Other container nodes - Various specialized containers
Saving and Loading Graphs#
Keyboard Shortcuts#
Tab - Open the node creation menu
Delete - Remove selected nodes and connections
Y - Activate the connection slicer tool
Ctrl + C - Copy selected nodes to clipboard
Ctrl + V - Paste nodes from clipboard
Ctrl + N - Create a new blank graph
Ctrl + O - Open an existing graph file
Ctrl + S - Save the current graph
Ctrl + Shift + S - Save graph with a new name
Ctrl + Shift + N - Open a new Editor window
Ctrl + Z - Undo last action
Ctrl + Y - Redo last undone action
Ctrl + A - Select all nodes in the graph
Alt + F4 - Close the editor
F5 - Execute the current graph
D - Toggle disabled/enabled state of selected nodes
I - Show detailed information for selected nodes
F - Frame selected nodes (or all nodes if nothing selected)
L - Auto-layout selected nodes (or all nodes if nothing selected)
Ctrl + L - Layout selected nodes horizontally
Ctrl + Alt + L - Layout horizontally with even spacing
Shift + L - Layout selected nodes vertically
Shift + Alt + L - Layout vertically with even spacing
S - Toggle snap-to-nodes when moving nodes
Shift + S - Toggle snap-to-grid when moving nodes
Alt + Right Mouse - Lazy Connect Mode (automatic connection)
Ctrl + Alt + Right Mouse - Lazy Connect Mode (replace existing connections)
Ctrl + Shift + Alt + Right Mouse - Lazy Connect Mode (create multiple connections)
Running Your Automations#
There are several ways to execute your node graphs, each suited for different workflow needs:
In the Editor#
Start from the "Input" node
Follow the execution connections in sequence
Process each connected node according to your workflow logic
Display results in the Output Log
Right-click any node in your graph
Select "Execute" from the context menu
The system will automatically execute that node and all its required input nodes
Automatic Execution with Callbacks#
When a new shot is created
When an asset gets exported
When files are published
When project states change
Other custom pipeline events
Programmatic Execution#
pcore.getPlugin("ExecutionGraph").executeGraphFromFile(graphPath)
Graph Libraries and Templates#
Click the "More" button in the Graph Library panel
Browse and download additional graphs from the Prism Online Library
Integrate community solutions into your workflows
Save commonly used workflows for easy team access
Create project-specific automation templates
Important: Remove the .json file filter from your library in the Project Settings to enable saving node graphs to custom project libraries
Extending with Custom Nodes#
Create Your Own Node Types#
Custom Node Loading System#
Resources\Nodedefs\standard_nodedefs.json%USERPROFILE%\Prism2\Presets\ExecutionGraph\NodeDefs\PRISM_EG_NODEDEF_PATHS - Specify additional .json files to load
PRISM_EG_NODEDEF_SEARCH_PATHS - Define directories to scan for node definition files
Extend Execution Graph functionality for specific pipeline needs
Create reusable components for complex operations
Share specialized nodes across your team or the community
Node Reference#
Configuration and Environment Variables#
Variable Name |
Description |
|---|---|
PRISM_EG_GRAPH_FOLDERS |
Specify additional folders that will appear in the Graph Library for loading node graphs. Useful for organization-wide template sharing. |
PRISM_EG_NODEDEF_PATHS |
Define specific file paths containing custom node definitions. Add multiple paths separated by your system's path separator. |
PRISM_EG_NODEDEF_SEARCH_PATHS |
Set directories that will be recursively searched for node definition files. Great for organizing custom nodes by category. |
PRISM_EG_SHOW_SHADOWS |
Control visual performance: |
![[Logo: Execution Graph]](../../_static/banner_logos/execution_graph_logo.png)