From ForEach.swift;
// TODO: This pattern of erasing by wrapping in a temporary class seems
// inefficient. Could ErasedViewGraphNode maybe be a struct instead?
var erasedNodes: [ErasedViewGraphNode] {
nodes.map(ErasedViewGraphNode.init(wrapping:))
}