Files
nexus/wiki/concepts/Canvas.md

27 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Canvas"
type: concept
tags: [obsidian, skills, visualization]
last_updated: 2026-04-21
---
## Definition
Canvas画布是 Obsidian 的 JSON 格式白板文件格式,用于在 Obsidian 中创建可视化节点布局,包含文本节点、文件节点、链接节点和组节点,以及节点之间的连线逻辑。
## Skill 版本对比
| Skill | 发布者 | 推荐度 | 特点 |
|-------|--------|--------|------|
| [[Json-Canvas]] | kepano | ❌ | 底层 JSON 语法正确性AI 可能机械摆放节点 |
| [[Obsidian-Canvas-Creator]] | Axton | ✅ | 高层排版策略,自动计算坐标,处理连线,径向/自由排版算法 |
## Canvas 文件结构
- **节点类型**text文本、file文件、link链接、group
- **布局属性**:每个节点有 x/y 坐标、宽度、高度
- **连线逻辑**source/target 节点 + 端点位置
## Connections
- [[Obsidian-Canvas-Creator]] — 推荐使用的 Skill
- [[Json-Canvas]] — 底层格式(不推荐直接使用)
- [[obsidian-必装-skills]] — 来源文档