瀏覽代碼

Better dox

master
Pete Shadbolt 6 年之前
父節點
當前提交
4075fa11e5
共有 1 個文件被更改,包括 20 次插入8 次删除
  1. +20
    -8
      templates/doc.md

+ 20
- 8
templates/doc.md 查看文件

@@ -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…
取消
儲存