]> git.r.bdr.sh - rbdr/map/blobdiff - Map/MapParser/MapParser.swift
Fix performance and undo
[rbdr/map] / Map / MapParser / MapParser.swift
index 3528eb5d4d26375c2bda7a08b010b679628e8549..cce62514d8b29ff9303a759e12dccc5c1aed05a6 100644 (file)
@@ -25,6 +25,9 @@ struct ParsedMap {
   let blockers: [Blocker]
   let opportunities: [Opportunity]
   let stages: [CGFloat]
+
+  static let empty: ParsedMap = ParsedMap(
+    vertices: [], edges: [], blockers: [], opportunities: [], stages: defaultDimensions)
 }
 
 struct Vertex {