Skip to content
Tech News
← Back to articles

JSON Canvas Spec (2024)

read original more articles
Why This Matters

The JSON Canvas Specification 2024 introduces a structured format for creating interactive, layered visual canvases using nodes and edges. This standard enhances the flexibility and interoperability of visual data representations, benefiting developers and designers by enabling more dynamic and organized visual workflows. Its adoption could streamline the development of complex visual applications across various industries.

Key Takeaways

JSON Canvas Spec

Version 1.0 — 2024-03-11

Top level

The top level of JSON Canvas contains two arrays:

nodes (optional, array of nodes)

(optional, array of nodes) edges (optional, array of edges)

Nodes

Nodes are objects within the canvas. Nodes may be text, files, links, or groups.

Nodes are placed in the array in ascending order by z-index. The first node in the array should be displayed below all other nodes, and the last node in the array should be displayed on top of all other nodes.

Generic node

... continue reading