MASS4.Graph.Dataflow 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MASS4.Graph.Dataflow --version 1.1.0
                    
NuGet\Install-Package MASS4.Graph.Dataflow -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MASS4.Graph.Dataflow" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MASS4.Graph.Dataflow" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="MASS4.Graph.Dataflow" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MASS4.Graph.Dataflow --version 1.1.0
                    
#r "nuget: MASS4.Graph.Dataflow, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MASS4.Graph.Dataflow@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MASS4.Graph.Dataflow&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=MASS4.Graph.Dataflow&version=1.1.0
                    
Install as a Cake Tool

MASS4.Graph.Dataflow

Pull-based data evaluation over the core graph model. Depends only on MASS4.Graph; control and state machines compose with it through the core IDataPlane contract.

Register each port type's CLR storage with DataflowSemantics.AddValueType<T> for unmanaged values or AddReferenceType<T> for references. Bind evaluation through AddNode and IDataflowNode/DataflowNode. Coercions and explicit conversion nodes extend the Conversions compatibility strategy; generic ports use wildcard type inference. Generated declarations emit these registrations consistently.

Evaluation and caching

Compile with Compile(document, layout, diagnostics) using a shared InstanceLayoutBuilder. The resulting DataflowProgram pulls dependencies when a value is read. Non-volatile subgraphs stay cached per instance; volatile nodes evaluate once per evaluation epoch. Variable writes invalidate the instance cache. Declared RequiredFeatures flow into the compiled graph and must be present in the evaluation context.

Behaviors see storage only through DataflowContext, which wraps a DataflowFrame. DataflowProgram is the interpreter's frame; generated backends supply their own, so one behavior runs unchanged on every backend.

Control and state behaviors may publish data through IDataPlane.Write only to outputs that dataflow does not compute. Such outputs are volatile roots; every publish advances the epoch. Publishing to an input or a dataflow-computed output throws.

Variables and declared outputs

Call DataflowNodes.Register(registry) for the built-in variable-read and output nodes. GetVariable uses a VariableReference payload and infers its output type from the referenced variable. Define a host-visible result as a VariableScope.Output variable targeted by one DataflowNodes.Output node. Hosts read it by variable identity through ICompiledGraph, independently of the backend. Output variables cannot be read inside the graph.

Rules and compilation reject data cycles, unresolved/conflicting types, unknown variables, invalid output roles and duplicate output definitions. Diagnostic codes are MG1001–MG1011. Supply Conversions and Rules to GraphEditor for edit-time validation.

See the shader and compositor samples and semantics tests.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MASS4.Graph.Dataflow:

Package Downloads
MASS4.Graph.Interpreter

Reference backend for MASS4.Graph: interprets dataflow, control and state documents with live edit, and compares backends with a differential test harness.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 66 11/4/2026
1.1.0 132 10/29/2026
1.0.0 88 10/28/2026