What is CGraph?
mainCGraph is a cross-platform Directed Acyclic Graph (DAG) framework written in pure C++11 with no third-party dependencies. It is designed to allow developers to build custom operators and describe complex execution schedules, including dependencies, parallelism, aggregation, and conditional logic.
Key features include:
- eDAG Scheduling: Supports sequential execution of dependent elements and concurrent execution of non-dependent elements.
- Control Features: Supports pausing, resuming, and timeout settings.
- Abstraction Layers: Uses
GNodefor individual tasks andGGroupfor controlling logic like loops and conditional branching. - Multi-language Support: Native C++ implementation with a Python wrapper called
pycgraph.