diff --git a/PlotLine/Views/FloorPlans/Edit.cshtml b/PlotLine/Views/FloorPlans/Edit.cshtml
index 5b32a48..3fc8b8f 100644
--- a/PlotLine/Views/FloorPlans/Edit.cshtml
+++ b/PlotLine/Views/FloorPlans/Edit.cshtml
@@ -13,6 +13,43 @@
var details = $"{transition.FromLocationName} -> {transition.ToLocationName}\n{transition.TransitionType}";
return string.IsNullOrWhiteSpace(transition.DisplayLabel) ? details : $"{details}\n{transition.DisplayLabel}";
}
+
+ string TransitionMarkerType(string? transitionType)
+ {
+ var normalized = (transitionType ?? string.Empty)
+ .Trim()
+ .Replace(" ", string.Empty, StringComparison.OrdinalIgnoreCase)
+ .Replace("-", string.Empty, StringComparison.OrdinalIgnoreCase)
+ .ToLowerInvariant();
+
+ return normalized switch
+ {
+ "door" => "door",
+ "doubledoor" => "double-door",
+ "window" => "window",
+ "archway" or "opening" => "archway",
+ "secretdoor" => "secret-door",
+ "blockeddoor" => "blocked-door",
+ "exteriordoor" => "exterior-door",
+ "stairs" or "stair" => "stairs",
+ "passage" => "passage",
+ _ => "other"
+ };
+ }
+
+ string TransitionMarkerSvg(string markerType) => markerType switch
+ {
+ "door" => @"",
+ "double-door" => @"",
+ "window" => @"",
+ "archway" => @"",
+ "secret-door" => @"",
+ "blocked-door" => @"",
+ "exterior-door" => @"",
+ "stairs" => @"",
+ "passage" => @"",
+ _ => @"x"
+ };
}