Updates C# demo to updated evaluation result handling.

This commit is contained in:
Henning Dieterichs
2020-02-24 23:01:37 +01:00
parent 2bc1ce380d
commit 1226a43f89

View File

@@ -52,7 +52,7 @@ namespace Demo
}
}
public ExtractedData Visualize()
public string Visualize()
{
var list = new Node(default(T)!) { Next = this.Head };
return GraphData.From(new[] { list }, (item, info) =>
@@ -65,7 +65,7 @@ namespace Demo
if (item.Next != null)
info.AddEdge(item.Next!, label: item == list ? "head" : "next");
return info;
});
}).ToString();
}
}
}