
canvas
Create spatial diagrams with free-positioned nodes using JSON format
by markdown-viewerFree
Description
canvas is an agent skill from the markdown-viewer/skills collection, listed on skills.sh. It teaches a coding agent to create spatial diagrams in the JSON Canvas format, where each node sits at a free position with x and y coordinates and a size. It suits concept maps, knowledge graphs and planning boards. Each node has an id, a type and a position, and edges connect nodes with fromNode and toNode references. The skill recommends planning the layout on a grid of 100 pixels, with the origin at the top left, x increasing to the right and y increasing downward. Colors are chosen from a set of six preset values. The output goes inside a canvas code fence so that it can be rendered. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it, so the agent applies the same format rules each time. It can be installed with npx skills add https://github.com/markdown-viewer/skills --skill canvas. The skill is listed as free on skills.sh.…
Highlights
- Free-positioned nodes with x and y
- Edges between nodes by id
- Layout planned on a 100 pixel grid
- Six preset colors
- Concept maps and planning boards
Ratings & Reviews
No ratings yet
Be the first to rate canvas.
People also visit

diagram-generator
Generate, refine, validate, and render diagrams from natural language, notes
canvas FAQ
What does the canvas skill do?
It helps an agent create spatial diagrams in the JSON Canvas format, with nodes placed at exact positions.
How do I install it?
Run npx skills add https://github.com/markdown-viewer/skills --skill canvas.
What is it good for?
Concept maps, knowledge graphs and planning boards, according to the skill.
How are nodes connected?
Edges use fromNode and toNode references to the node ids.
Is it free?
Yes. The skill is listed on skills.sh as free.
What are the best canvas alternatives?
Popular alternatives to canvas include frame-flowchart-sticky, diagram-generator and excalidraw-diagram-generator. See all canvas alternatives
















