diff --git a/src/c3nav/routing/area.py b/src/c3nav/routing/area.py index 045dd222..9e3f103e 100644 --- a/src/c3nav/routing/area.py +++ b/src/c3nav/routing/area.py @@ -83,8 +83,8 @@ class GraphArea(): continue if stair_direction_up is not None: - point1.connect_to(point2, ctype=('steps_up' if stair_direction_up else 'steps_down')) - point2.connect_to(point1, ctype=('steps_down' if stair_direction_up else 'steps_up')) + point1.connect_to(point2, ctype=('stairs_up' if stair_direction_up else 'stairs_down')) + point2.connect_to(point1, ctype=('stairs_down' if stair_direction_up else 'stairs_up')) elif escalator_direction_up is not None: if not escalator_swap_direction: point1.connect_to(point2, ctype=('escalator_up' if escalator_direction_up else 'escalator_down')) diff --git a/src/c3nav/routing/level.py b/src/c3nav/routing/level.py index da8ee80f..23abeee2 100644 --- a/src/c3nav/routing/level.py +++ b/src/c3nav/routing/level.py @@ -264,8 +264,8 @@ class GraphLevel(): # Drawing ctype_colors = { '': (50, 200, 0), - 'steps_up': (255, 50, 50), - 'steps_down': (255, 50, 50), + 'stairs_up': (255, 50, 50), + 'stairs_down': (255, 50, 50), 'escalator_up': (255, 150, 0), 'escalator_down': (200, 100, 0), 'elevator_up': (200, 0, 200),