CGraph logo

CGraph

ChunelFeng/CGraph

A common used C++ & Python DAG framework

GraphCanon updated Sep 17, 2026 · GitHub synced Sep 17, 2026

23views this month

2.3k stars390 forksLast push Sep 7, 2026 C++ MIT

Decision brief

CGraph is a cross-platform Directed Acyclic Graph (DAG) framework in pure C++, aiding developers in building custom operators and pipelines for various workflows without any third-party dependencies.

Good fit when

  • Use CGraph when you need a cross-platform DAG framework that supports constructing custom operators directly in C++.
  • Choose it if your project benefits from Python API integration and requires handling both dependence and parallel execution.

Avoid when

  • Avoid using CGraph when your workflow primarily involves tasks that are better suited for language ecosystems outside of C++ and Python, such as Java or JavaScript.
  • Do not use this framework if you require specialized features provided by specific third-party libraries that enhance or tailor the capabilities beyond what pure C++ offers.
Pricing:
freemium - Free and open-source software with a MIT license, offering gratis usage for all, including for commercial purposes.
Requirements:
Min 0.5 GB RAM; C++11 support is required in your compiler.; Python version 'pycgraph' package is supported for Python API usage.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (9d since push)
As of Sep 17, 2026
Provenance
Not a fork · Personal account
As of Sep 17, 2026
Security (OSV)
No lockfile
As of Jul 15, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/ChunelFeng/CGraph

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

CGraph is a cross-platform Directed Acyclic Graph (DAG) framework based on pure C++ without any third-party dependencies, supporting the construction of custom operators and pipelines for various workflows.

Capability facts

Languages
c++

Source: github.language · Sep 17, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 17, 2026)

# pip install pycgraph
Source link

Tags

README

pip install pycgraph import time from datetime import datetime from pycgraph import GNode, GPipeline, CStatus class MyNode1(GNode): def run(self): print("[{0}] {1}, sleep for 1 second ... ".format(datetime.now(), self.getName())) time.sleep(1) return CStatus() class MyNode2(GNode...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.