From d1c6427d5b3b511389f5deaa0d91a35e7e7e24ea Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 20 Sep 2024 13:56:35 +0200 Subject: [PATCH] Updated Data model (markdown) --- Data-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data-model.md b/Data-model.md index 88a230c..1101588 100644 --- a/Data-model.md +++ b/Data-model.md @@ -262,7 +262,7 @@ Markers data is stored as an unordered array of objects (so element id is _not_ * `lock`: `boolean` - `true` if marker is locked (not affected by regeneration). Optional ## Routes -Routes data is stored as an ordered array of objects (so element id is the array index). Object structure: +Routes data is stored as an unordered array of objects (so element id is _not_ the array index). Object structure: * `i`: `number` - route id. Please note the element with id `0` is a fully valid route, not a placeholder * `points`: `number[]` - array of control points in format `[x, y, cellId]` * `feature`: `number` - feature id of the route. Auto-generated routes cannot be place on multiple features