Clickable Mermaid Nodes β€” VS Code Navigation (v1.43.0)

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

Enable in your .csproj:

<PropertyGroup>
  <ResultFlowLinkMode>vscode</ResultFlowLinkMode>
</PropertyGroup>

The generator embeds a click directive per node:

click N0_FindUser "vscode://file/C:/src/OrderService.cs:42" "Go to FindUser"

Clicking the node in the VS Code Mermaid preview (Ctrl+Shift+V) jumps directly to the method call in the source file.

Supported modes:

ResultFlowLinkMode Behaviour
(unset / none) No click directives β€” default, diagram unchanged
vscode vscode://file/{path}:{line} URI β€” opens in VS Code

Nodes without a known source location (e.g. stubs created in-memory during tests) are silently skipped β€” no click directive is emitted for them.

Works in both REslava.Result.Flow (via MSBuild build_property.ResultFlowLinkMode) and REslava.ResultFlow (via resultflow.json "linkMode" key).