Files
Marcos Paulo ead48a824e feat(canvas): wave 1 implementation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 18:59:07 -03:00

78 lines
1.4 KiB
Plaintext

{
"nodes": [
{
"id": "a",
"type": "text",
"text": "Plain text content",
"x": 0,
"y": 0,
"width": 250,
"height": 100
},
{
"id": "b",
"type": "file",
"file": "path/to/file.md",
"subpath": "#heading",
"x": 300,
"y": 0,
"width": 250,
"height": 100,
"color": "2"
},
{
"id": "c",
"type": "link",
"url": "https://jsoncanvas.org",
"x": 600,
"y": 0,
"width": 250,
"height": 100,
"color": "#00ff00"
},
{
"id": "d",
"type": "group",
"label": "Group",
"background": "assets/bg.png",
"backgroundStyle": "cover",
"x": 0,
"y": 200,
"width": 600,
"height": 300,
"color": "6"
},
{
"id": "e",
"type": "text",
"text": "# Heading\n\nSome **markdown** with \"quotes\" and a tab\there.",
"x": 20,
"y": 220,
"width": 300,
"height": 120
}
],
"edges": [
{
"id": "e1",
"fromNode": "a",
"toNode": "b"
},
{
"id": "e2",
"fromNode": "b",
"toNode": "c",
"fromSide": "right",
"toSide": "left",
"label": "next",
"color": "4"
},
{
"id": "e3",
"fromNode": "c",
"toNode": "d",
"fromEnd": "arrow",
"toEnd": "none"
}
]
}