canvas-layout

Re-layout Obsidian Canvas nodes using six spatial algorithms.

247|24|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/AgriciDaniel/claude-canvas --skill canvas-layout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canvas-layout
Source: https://github.com/AgriciDaniel/claude-canvas/tree/main/skills/canvas-layout
Command: npx skills add https://github.com/AgriciDaniel/claude-canvas --skill canvas-layout

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually arranging Obsidian Canvas nodes is time‑consuming and often results in cluttered layouts; this Skill automatically re‑positions nodes using intelligent spatial algorithms.

Core Features & Use Cases

  • Multiple Layout Algorithms: Supports grid, dagre, radial, force‑directed, linear, and auto‑detect to suit galleries, flowcharts, mind maps, knowledge graphs, timelines, and mixed canvases.
  • Preserves Structure: Keeps group memberships, snaps to a 20 px grid, and refits zones around content.
  • Scalable Handling: For canvases over 30 nodes it delegates to a dedicated layout agent; backs up canvases before changes and validates results.

Quick Start

Ask Claude to automatically layout the active canvas with the best algorithm.

Frequently Asked Questions about canvas-layout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically arrange Obsidian Canvas nodes to fix a cluttered layout?

To auto-arrange Obsidian Canvas nodes, apply spatial algorithms like grid, dagre, radial, force-directed, linear, or auto-detect to reposition elements and improve visual organization. The tool validates results and creates backups before writing changes.

What is the best layout algorithm for a large knowledge graph in Obsidian Canvas?

For a large knowledge graph in Obsidian Canvas, the force-directed or dagre algorithm is typically best. Canvases over 30 nodes are automatically delegated to a dedicated layout agent to handle the complexity and ensure optimal spatial organization.

Does automatically repositioning canvas nodes preserve my existing groups and zones?

Yes, automatically repositioning canvas nodes preserves your existing structure. The process maintains group memberships, snaps all nodes to a 20-pixel grid, and automatically refits zones around the newly positioned content.

Do I need Python installed to auto-layout an Obsidian Canvas?

Yes, you need Python installed to auto-layout an Obsidian Canvas. The process relies on Python scripts that accept a canvas path, chosen algorithm, and optional parameters to execute the spatial reorganization.

Can I undo changes if the automatic canvas layout algorithm produces an unexpected result?

Yes, you can undo automatic canvas layout changes because the tool creates a backup of the canvas before applying any spatial algorithm. This backup ensures your original layout is preserved if the result is unexpected.

When should I use the auto-detect algorithm versus a specific layout for my canvas?

Use the auto-detect algorithm for mixed canvases where the optimal structure is unclear, as it automatically selects the best approach. Choose specific algorithms like radial or linear when you need predictable layouts for mind maps or timelines.