ResultFlow — Diagram Features
-
⚡ Async Step Annotation
*Asyncmethods are automatically annotated with a ⚡ suffix in the diagram label — no configuration required. -
🔗 Clickable Mermaid Nodes — VS Code Navigation (v1.43.0)
When
ResultFlowLinkModeis set tovscode, each node becomes a hyperlink that opens the exact source line in VS Code. -
🔀 Cross-Method Pipeline Tracing —
MaxDepth(v1.45.0)Follow
Bindcalls into other methods and expand them inline as Mermaid subgraphs — one diagram spanning multiple classes and layers. -
🌙 Dark Theme Diagrams (v1.47.4)
Add
Theme = ResultFlowTheme.Darkto emit the full diagram set in a dark colour scheme — optimised for dark-mode editors and MkDocs slate. -
🏛️ Domain Boundary Diagrams —
_LayerView,_Stats,_ErrorSurface,_ErrorPropagation(v1.45.0)Add
[DomainBoundary]to a class for four additional diagram constants: architecture view, pipeline stats, error surface, and error propagation by layer. -
🔍 Error Taxonomy Map (v1.54.0)
Both packages emit
_ErrorTaxonomy— a markdown table of every detectable error type per method, generated at compile time withcertain/inferredconfidence levels. -
🏷️ Error Type Annotation on Failure Edges (v1.40.0)
Failure edges are annotated with the error type name when a step argument is a direct error constructor or static factory call.
-
🔴 FAIL Node Error Annotation (v1.51.0)
The
FAILnode in generated diagrams now displays the actual error types that can reach it — making failure surfaces visible without opening source. -
🔀 Match — Multi-Branch Fan-Out (v1.46.0)
Matchrenders as a decision hexagon with one typed fail edge per explicitly-typed lambda parameter — all converging on the sharedFAILterminal. -
🗺️ Node Type Legend —
Legendconstant (v1.47.2)One
Legendconstant per*_Flowsclass shows all 9 node types — shapes, colours, and the entry-arrow symbol — in a single Mermaid diagram. -
📄 Sidecar Markdown Constant — Pipeline Docs Alongside Code (v1.43.0)
For every
[ResultFlow]method the generator emits a{MethodName}_Sidecarconstant — the Mermaid diagram wrapped in a fenced block ready for GitHub or VS Code preview. -
🏷️ Success Type Travel
REslava.ResultFlowinfers the success typeTat each pipeline step and renders it inline in the node label — zero configuration, works with any Result library. -
🔀 Type-Flow Diagram —
_TypeFlow(v1.51.0)Every
[ResultFlow]method generates a{MethodName}_TypeFlowconstant that labels every success edge with theResult<T>type flowing through it.