mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-22 05:55:42 -05:00
82 lines
1.5 KiB
Plaintext
82 lines
1.5 KiB
Plaintext
{
|
|
"nodes": [
|
|
{
|
|
"id": "node-1",
|
|
"type": "text",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 250,
|
|
"height": 120,
|
|
"text": "# Welcome\nThis is a **text node** with markdown content.",
|
|
"color": "1"
|
|
},
|
|
{
|
|
"id": "node-2",
|
|
"type": "text",
|
|
"x": 400,
|
|
"y": -50,
|
|
"width": 200,
|
|
"height": 100,
|
|
"text": "A second text node connected to the first."
|
|
},
|
|
{
|
|
"id": "node-3",
|
|
"type": "file",
|
|
"x": 0,
|
|
"y": 200,
|
|
"width": 250,
|
|
"height": 80,
|
|
"file": "index.md",
|
|
"color": "4"
|
|
},
|
|
{
|
|
"id": "node-4",
|
|
"type": "link",
|
|
"x": 400,
|
|
"y": 200,
|
|
"width": 250,
|
|
"height": 80,
|
|
"url": "https://jsoncanvas.org",
|
|
"color": "5"
|
|
},
|
|
{
|
|
"id": "group-1",
|
|
"type": "group",
|
|
"x": -30,
|
|
"y": -80,
|
|
"width": 700,
|
|
"height": 200,
|
|
"label": "Main Ideas",
|
|
"color": "6"
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "edge-1",
|
|
"fromNode": "node-1",
|
|
"fromSide": "right",
|
|
"toNode": "node-2",
|
|
"toSide": "left",
|
|
"toEnd": "arrow",
|
|
"label": "connects to"
|
|
},
|
|
{
|
|
"id": "edge-2",
|
|
"fromNode": "node-1",
|
|
"fromSide": "bottom",
|
|
"toNode": "node-3",
|
|
"toSide": "top",
|
|
"toEnd": "arrow"
|
|
},
|
|
{
|
|
"id": "edge-3",
|
|
"fromNode": "node-2",
|
|
"fromSide": "bottom",
|
|
"toNode": "node-4",
|
|
"toSide": "top",
|
|
"toEnd": "arrow",
|
|
"color": "#ff6600"
|
|
}
|
|
]
|
|
}
|