Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

README.md

Outline

Examples Index

Runnable examples for core Weavegraph patterns.

Run an example

cargo run --example <name> --features examples

Use --features postgres-migrations,examples for production_streaming when running against a fresh database.

Core workflow examples

  • basic_nodes - Minimal node and graph setup.
  • graph_execution - End-to-end graph execution and state updates.
  • scheduler_fanout - Dependency fan-out and scheduler behavior.
  • advanced_patterns - Conditional routing and richer orchestration patterns.

Streaming and observability examples

  • convenience_streaming - invoke_with_channel and invoke_with_sinks helpers.
  • streaming_events - Runtime/event bus streaming pattern for services.
  • event_backpressure - Handling lag and drop behavior under load.
  • json_serialization - Emitting machine-readable event payloads.
  • production_streaming - PostgreSQL-backed Axum SSE example for production deployments.

Error handling example

  • errors_pretty - Structured error collection and pretty output.

Related docs

  • docs/QUICKSTART.md
  • docs/STREAMING.md
  • docs/OPERATIONS.md
  • docs/MIGRATION.md
Morty Proxy This is a proxified and sanitized view of the page, visit original site.