GraphTopologyRegistration
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework¶
GraphTopologyRegistration Class¶
Compile-time graph topology data registered by the source generator. Each instance captures the entry point, edges, nodes, and optional reducer for one named graph.
Inheritance System.Object 🡒 GraphTopologyRegistration
Properties¶
GraphTopologyRegistration.Edges Property¶
All declared edges: source agent type, target agent type, optional condition string, required flag, and optional per-node routing mode override.
public System.Collections.Generic.IReadOnlyList<(System.Type Source,System.Type Target,string? Condition,bool IsRequired,System.Nullable<int> NodeRoutingMode)> Edges { get; }
Property Value¶
System.Collections.Generic.IReadOnlyList<<System.Type,System.Type,System.String,System.Boolean,System.Nullable<System.Int32>>>
GraphTopologyRegistration.EntryType Property¶
The entry-point agent type for this graph.
Property Value¶
GraphTopologyRegistration.Nodes Property¶
All explicitly declared node join modes.
Property Value¶
System.Collections.Generic.IReadOnlyList<<System.Type,System.Int32>>
GraphTopologyRegistration.Reducer Property¶
The reducer type and static method name, if declared.
Property Value¶
System.Nullable<<System.Type,System.String>>
GraphTopologyRegistration.RoutingMode Property¶
The graph-level routing mode as an integer (maps to GraphRoutingMode).