From 745ffb9cfdcbfc975bafcf21c6d6da8d2bcdca54 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 22 Mar 2024 17:40:20 +0100 Subject: major_road -> main_road (to match friedrich terminology) --- tools/layout.svg | 20 ++++++++++---------- tools/parse-layout.js | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/layout.svg b/tools/layout.svg index be98c85..edffc20 100644 --- a/tools/layout.svg +++ b/tools/layout.svg @@ -40,10 +40,10 @@ inkscape:window-height="480" id="namedview6" showgrid="false" - inkscape:zoom="5.7431908" + inkscape:zoom="4.9386971" inkscape:cx="203.18431" inkscape:cy="1571.788" - inkscape:current-layer="g5174" + inkscape:current-layer="svg4" inkscape:document-rotation="0" showguides="false"> + y="0" + width="2485" + height="1654" + image-rendering="pixelated" + sodipodi:insensitive="true" + id="image2" /> @@ -4059,7 +4059,7 @@ { for (let e of edges.major_road) { let a = find_closest_city(e.x1, e.y1) let b = find_closest_city(e.x2, e.y2) - cities[a].major_roads.push(b) - cities[b].major_roads.push(a) + cities[a].main_roads.push(b) + cities[b].main_roads.push(a) } for (let e of edges.road) { @@ -362,7 +362,7 @@ let arrays = { // type: [], x: [], y: [], - major_roads: [], + main_roads: [], roads: [], } -- cgit v1.2.3