cgraph

【A common used C++ & Python DAG framework】 一个通用的、无三方依赖的、跨平台的、收录于awesome-cpp的、基于流图的并行计算框架。欢迎star & fork & 交流

23 articles 2.3k View on GitHub ↗
23 articles
Integrating CGraph Pipelines with Python Using the pycgraph Binding

Integrate CGraph pipelines with Python using pycgraph. Leverage CGraph's high-performance C++ DAG engine and lock-free scheduling directly within your Python applications for optimized parallel execution.

how-to-guide
Feb 27, 2026
Comparing CGraph and Taskflow: A Deep Dive into DAG Framework Features

Compare CGraph and Taskflow DAG frameworks. Discover CGraph's enterprise features like message passing and Python bindings, and Taskflow's lightweight C++ performance.

deep-dive
Feb 27, 2026
Saving and Loading CGraph Pipeline Configurations: A Complete Guide

Master saving and loading CGraph pipeline configurations with GPipeline::save() and GPipeline::load(). Persist complex settings to disk and restore them easily.

how-to-guide
Feb 27, 2026
How to Implement Barrier Synchronization Using GFence in CGraph

Implement barrier synchronization in CGraph using GFence. Block downstream tasks until all async elements finish using registerGElement and waitGElements for efficient workflow control.

how-to-guide
Feb 27, 2026
How to Use CGraph's Perf Profiling for Performance Bottleneck Analysis

Uncover performance bottlenecks with CGraph perf profiling. Automatically identify critical paths and visualize compute time spent to optimize your code. Integrate GPerfAspect seamlessly.

performance
Feb 27, 2026
How to Use GMutable for Dynamic Dependency Management in CGraph

Learn to use GMutable for dynamic dependency management in CGraph. This specialized group element allows runtime reshaping of graphs via its pure virtual reshape() method for adaptive execution paths based on runtime data.

how-to-guide
Feb 27, 2026
GStage: How to Synchronize CGraph Elements with Count-Down Barriers

Discover GStage, a count-down barrier for CGraph synchronization. Learn how GStage pauses and releases concurrent GElement objects together at defined thresholds. Optimize your parallel processing.

how-to-guide
Feb 27, 2026
Implementing Asynchronous Node Execution with Cancellation in CGraph

Learn to implement asynchronous node execution and cancellation in CGraph using asyncRun and asyncProcess. Explore runtime cancellation via the global state machine.

how-to-guide
Feb 27, 2026
How CGraph's Graph Visualization (Dump) Feature Generates GraphViz Outputs

Discover how CGraph's graph visualization feature generates GraphViz DOT outputs by traversing its element manager and rendering dependency edges. Understand pipeline structure easily.

how-to-guide
Feb 27, 2026
Using CGraph TemplateNode for Parameterized and Reusable Nodes

Unlock reusable, type-safe pipeline components with CGraph TemplateNode. Create parameterized nodes with zero runtime overhead for efficient C++ graph processing.

how-to-guide
Feb 27, 2026
Optimizing CGraph Pipeline Throughput and Performance: A Complete Guide

Boost CGraph pipeline throughput and performance with expert tips on thread pools, DAG optimization, serial execution, and GPerf profiling. Unlock faster processing now.

best-practices
Feb 27, 2026
How CGraph Implements Pausing and Resuming Pipeline Execution: A Technical Deep Dive

Learn how CGraph implements pausing and resuming pipeline execution. Discover its state management system that allows cooperative blocking and resuming of pipeline elements.

deep-dive
Feb 27, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →