Browse Source

Better dox

master
Pete Shadbolt 7 years ago
parent
commit
4075fa11e5
1 changed files with 20 additions and 8 deletions
  1. +20
    -8
      templates/doc.md

+ 20
- 8
templates/doc.md View File

@@ -56,14 +56,26 @@ An HTTP GET to `/<uuid>/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.


Loading…
Cancel
Save