@model string @{ ViewData["Title"] = "Writing Solver graph"; }
Immutable graph versions. Inspect nodes, choices, conditional connections, weights, diagnoses and feature mappings below. Validation reports reachability, dead ends, invalid references and unpermitted cycles. Publication preserves earlier snapshots.
@if (ViewData["Report"] is IEnumerableVersion @graph.Version · @graph.ChangeNote
| Node | Question / active | Connections and conditions | Choice signals |
|---|---|---|---|
| @node.Id (@node.Type) | @node.Title Active: @node.Active · Multiple: @node.Multiple |
@foreach(var route in node.Routes) { → @route.Target |
@foreach(var choice in node.Choices.OrderBy(c=>c.Order)) { @choice.Id: @choice.Text |
| Diagnosis / active | Signals / threshold | Feature mappings |
|---|---|---|
| @solution.PageTitle @solution.Id · Active: @solution.Active · Index: @solution.Index | @string.Join(", ",solution.Signals.Select(w=>$"{w.Key}: {w.Value}")) Threshold: @solution.Threshold |
@foreach(var link in solution.Features) { @link.Feature (@(link.Primary ? "primary" : "supporting")) |