{"repo":"Enzx/NxGraph","free":true,"listed":false,"github":"https://github.com/Enzx/NxGraph","clone":"git clone https://github.com/Enzx/NxGraph.git","description":"NxGraph is a zero-allocation runtime, high-performance finite state machine (FSM) framework for .NET 8+, designed for scenarios where execution speed, memory efficiency, and runtime safety are critical.","language":"C#","stars":105,"topics":["csharp","dotnet","fsm","state-machine","workflow","zero-allocation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"NxGraph NxGraph is a lean, high-performance finite state machine / stateflow library for .NET with: - a fluent authoring DSL - explicit branching through director nodes - sync and async runtimes - stepped execution for Unity ( Update() -loop friendly) - a unified fault model: per-node retries, failure edges ( .OnError ), and timeouts - composites: subgraphs (with history), parallel regions, and blackboard-selected dynamic regions - durable suspend/resume via serializable snapshots (shallow, or deep with composite internals) - scoped blackboards (typed, zero-boxing shared memory) - graph validation - observers, tracing, replay, and Mermaid export - optional graph serialization via a codec-based serializer The core package targets net8.0 and netstandard2.1 . --- Table of contents - Why NxGraph - Packages - Install - Quick start - Async quick start - Sync quick start - Authoring DSL - Linear flows - Branching with If - Branching with Switch - Custom directors - Fan-out at a glance - Waits and timeouts - Error handling: retries and failure edges - Loops with Goto - Named outcomes - Naming nodes - Agents / context injection - Blackboards (scoped shared memory) - Step I/O (ports) - Event entry points - Behaviors (declarative state composition) - Execution - Async execution - Sync execution, stepped model - Unity integration - Nested machines - Composites: subgraphs, history, and parallel regions - Token runtime: fork, join, and mid-graph merge - Durable suspend / resume - Restart p","default_branch":null,"files":null,"tree":[],"storefront":"/r/Enzx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Enzx/NxGraph/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}