Hasty Briefsbeta

Bilingual

JSON Canvas Spec

4 days ago
  • #JSON Canvas
  • #Node Types
  • #API Specification
  • JSON Canvas has nodes and edges arrays at top level
  • Nodes include text, file, link, and group types with required attributes like id, type, x, y, width, height
  • Text nodes store plain text with Markdown syntax
  • File nodes reference files with optional subpaths starting with #
  • Link nodes contain URLs
  • Group nodes act as containers with optional label and background styles
  • Edges connect nodes with attributes for start/end sides and endpoint shapes
  • Colors can be hex codes or preset numbers 1-6 for red, orange, yellow, green, cyan, purple