From 4075fa11e5b8c0b22f7eb34a0d1434fc3c82da02 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Tue, 17 Oct 2017 06:11:44 -0700 Subject: [PATCH] Better dox --- templates/doc.md | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/templates/doc.md b/templates/doc.md index 0435bc8..630e1ff 100644 --- a/templates/doc.md +++ b/templates/doc.md @@ -56,14 +56,26 @@ An HTTP GET to `//graph` will return some JSON. outputs :::python - {"node": - {"30": - {"position": - {"y": 3.245091885135617, "x": -1.0335390368621762, "z": 0.12485495696298532}, "vop": 0}, "28": - {"position": - {"y": 0.1811335599620998, "x": 3.7102305790943295, "z": 0.3375519427305571}, "vop": 0}, "29": - {"position": - {"y": -1.834182888403804, "x": 1.5968911365745622, "z": 2.8585980299131886 + { + "adj": { + "(0, 0, 1)": { + "(0, 1, 1)": {}, + "(1, 0, 1)": {} + }, + "(0, 0, 3)": { + "(0, 1, 3)": {}, + "(1, 0, 3)": {} + }, + "(0, 0, 5)": { + "(0, 1, 5)": {}, + "(1, 0, 5)": {} + }, + "(0, 1, 0)": { + "(0, 1, 1)": {}, + "(1, 1, 0)": {} + }, + "(0, 1, 1)": { + "(0, 0, 1)": {}, ... The top-level keys are `node` and `adj`. These model the node metadata and adjacency matrix respectively.