Skip to content

ResultFlow — Diagram Features

  • ⚡ Async Step Annotation

    *Async methods are automatically annotated with a ⚡ suffix in the diagram label — no configuration required.

  • 🔗 Clickable Mermaid Nodes — VS Code Navigation (v1.43.0)

    When ResultFlowLinkMode is set to vscode, each node becomes a hyperlink that opens the exact source line in VS Code.

  • 🔀 Cross-Method Pipeline Tracing — MaxDepth (v1.45.0)

    Follow Bind calls 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.Dark to 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 with certain / inferred confidence 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 FAIL node 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)

    Match renders as a decision hexagon with one typed fail edge per explicitly-typed lambda parameter — all converging on the shared FAIL terminal.

  • 🗺️ Node Type Legend — Legend constant (v1.47.2)

    One Legend constant per *_Flows class 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}_Sidecar constant — the Mermaid diagram wrapped in a fenced block ready for GitHub or VS Code preview.

  • 🏷️ Success Type Travel

    REslava.ResultFlow infers the success type T at 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}_TypeFlow constant that labels every success edge with the Result<T> type flowing through it.