jsoncanvas
jsoncanvas copied to clipboard
An open file format for infinite canvas data.
I would suggest creating a [JSON Schema](https://json-schema.org) to define the spec. Here's a first pass at that. ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/obsidianmd/jsoncanvas/canvas.json", "title": "An open file format for infinite...
reading the spec, I 'm unsure whether file nodes are meant to be relative local path references to files on the user's own machine only, or are they also for...
I'm not sure if `group` nodes are supposed to act like `boxes` in Kinopio which are a type of node that can contain other nodes. If so, to draw a...
For importing, Kinopio computes a node's dimensions dynamically based on it's contents so explicit width and height are unnecessary in my context (manual resizing is an optional action that the...
Over in the Breadboard project, we have a BGL format that looks surprisingly similar to json canvas. BGL JSON schema is [here](https://github.com/breadboard-ai/breadboard/blob/d73371b17d28874eb4f0f3ceb17c0817cc315b1b/packages/schema/breadboard.schema.json). I wonder if there's an opportunity to unify...
The current node types cover alot of cases, but currently seem to be text/ file focused. How would you use JSON Canvas to build something like an audio editor such...
For example, is `#FF0000` a preset value for `red`? Or is there some kind of theme tie-in that this conveys rather than a hard value used in all implementations?
The page https://jsoncanvas.org/ should list known implementations. I guess by know it's - [Obsidian](https://obsidian.md/) - [unnamed reference implementation used in this repository](https://github.com/obsidianmd/jsoncanvas/blob/main/assets/canvas.js) - ...? People should be encouraged to use...
The current spec v1.0 defines "nodes + edges on a canvas" and some general metadata on nodes and edges. Very minimal, which is good. In terms of minimalism as well...
As far as I can tell, the spec doesn't define the coordinate system in use (e.g. which direction is positive in each axis, what point on the entity is represented...