Skip to content

AgentGraphTerminalNodeAnalyzer

NexusLabs.Needlr.AgentFramework.Analyzers

AgentGraphTerminalNodeAnalyzer Class

Analyzer that detects terminal nodes that have outgoing edges.

public sealed class AgentGraphTerminalNodeAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentGraphTerminalNodeAnalyzer

Remarks

\<b>NDLRMAF027\</b> (Error): A node marked as terminal via [AgentGraphNode(IsTerminal = true)] also has [AgentGraphEdge] declarations. Terminal nodes must not have outgoing edges.