Home › @(Model.IsFeature ? "Features" : "Writing Problem Solver")
@if(Model.Graph.IsDemo) {
Demonstration content · The curated collection is on its way.
}
@if(Model.IsFeature)
{
var feature=(SolverFeature)Model.Page;
@feature.Title
@feature.Summary
@foreach(var paragraph in feature.Content.Split("\n\n")) {
@paragraph
}
@if(feature.Screenshot is not null) {
}
Writing problems this can help with
@foreach(var solution in Model.Graph.Solutions.Where(s=>s.Active && s.Features.Any(f=>f.Feature==feature.Id))) {
@solution.PageTitle
}
See PlotDirector in action →
}
else
{
var presentation = Model.Journey is {} journey ? Results.Present(journey.Outcome) : Results.Present(new SolverOutcome(null, new[] { (SolverSolution)Model.Page }, new Dictionary
(), Array.Empty()));
@if(presentation is not null) { }
else { }
@if(Model.Journey is {} completed)
{
We’ve talked about:
@foreach(var answer in completed.Outcome.Answers)
{ @string.Join(", ",Model.Graph.Nodes.Single(n=>n.Id==answer.Node).Choices.Where(c=>answer.Choices.Contains(c.Id)).Select(c=>c.Text)) }
Restart
}
@if(Model.Journey is {} reviewJourney) { }
var solution=(SolverSolution)Model.Page;
var permanent=Editorial.Find(solution.Id);
@if(permanent is not null)
{
@foreach(var link in solution.Features.Where(f=>f.Primary))
{ var feature=Model.Graph.Features.Single(f=>f.Id==link.Feature); Explore @feature.Title →
}
Browse this problem area →
}
}
@if(Model.Page.Questions.Count>0 && (Model.IsFeature || Editorial.Find(Model.Page.Id) is null)) { Questions this helps answer @foreach(var question in Model.Page.Questions) { @question } }
Find a way through your writing problem →
@if(!Model.IsFeature){ }