Skip to main content

phynexis.workflow

Workflow automation module providing a graph-based execution framework for building and running procedural pipelines. Supports node registration, method introspection, and JSON-driven graph execution.

Import

import phynexis

# Bind locally
from phynexis import workflow
g = workflow.Graph()
print(type(g).__name__)

Module Overview

Class / FunctionDescription
PortInfoPort descriptor for method signature I/O
MethodSignatureMethod signature description
WorkflowObjectAbstract base class for workflow-enabled objects
NodeNode representing an object instance in a workflow graph
MethodCallMethod invocation within a node
GraphWorkflow graph managing nodes and method calls
ExecutorGraph executor that processes calls in topological order
RegistryGlobal registry for workflow node types
register_type()Register a Python class as a workflow node type
run_graph_from_json()Run a workflow from a JSON string

Free Functions

FunctionDescription
register_type(name, pycls)Register a Python class as a workflow node type
run_graph_from_json(json_str)Parse JSON, build graph, execute, return outputs