Ryan177 downloadsExplicit hierarchy, branch movement, focus, and collapse tools for Obsidian Canvas.
Canvas Branch Manager adds explicit hierarchy, branch movement, focused editing, and descendant collapse tools to Obsidian Canvas. It works locally with standard .canvas files and does not use network services.
parent → child relations.Once the plugin is available in the Community directory:
For manual installation, download main.js, manifest.json, and styles.css from the latest GitHub release and place them in:
<vault>/.obsidian/plugins/canvas-branch-manager/
Reload Obsidian and enable Canvas Branch Manager under Community plugins.
Alt while dragging a parent node.Logical groups use one direct parent per node. For manual corrections, use the command palette actions Add selected nodes to the selected group, Remove selected nodes from their logical groups, and Rescan members of the selected group.
Downstream cycles are allowed for branch copying and collapse. An individual operation is blocked only when that branch contains a path back to the selected node itself.
Before a Canvas has explicit markers, ordinary edges are interpreted as fromNode → toNode for hierarchy preview and branch movement. Marking the first edge switches that Canvas to explicit hierarchy mode.
Canvas Branch Manager does not send data over the network and does not include telemetry. Interaction preferences and hierarchy state are stored locally in the plugin's data.json.
If Sync Canvas state with Markdown is enabled, the plugin maintains Canvas Branch Manager State.md in the vault root. This note contains hierarchy markers, collapsed-branch state, and logical group membership so those values can be synchronized by services that only sync Markdown files.
npm install
npm run lint
npm run test:graph
npm run build
Canvas Branch Manager 为 Obsidian Canvas 增加显式层级、分支联动移动、聚焦编辑和后代折叠功能。插件完全在本地处理标准 .canvas 文件,不使用网络服务。
父节点 → 子节点 关系。插件进入社区目录后:
手动安装时,请从最新的 GitHub Release 下载 main.js、manifest.json 和 styles.css,放入:
<仓库>/.obsidian/plugins/canvas-branch-manager/
重新加载 Obsidian,然后在第三方插件中启用 Canvas Branch Manager。
Alt 拖动父节点。逻辑分组规定每个节点只有一个直接父分组。如需手动修正,可在命令面板使用将所选节点加入所选分组、将所选节点移出逻辑分组和重新扫描所选分组的成员。
分支复制和折叠允许下游内部存在循环;只有某个分支包含返回所选节点自身的路径时,才会阻止该方向的操作。
在 Canvas 尚无显式标记时,普通边会按照 fromNode → toNode 用于层级预览和分支联动。标记第一条边后,该 Canvas 会切换到显式层级模式。
Canvas Branch Manager 不会通过网络发送数据,也不包含遥测。交互偏好和层级状态保存在插件本地的 data.json 中。
启用使用 Markdown 同步 Canvas 状态后,插件会在仓库根目录维护 Canvas Branch Manager State.md。该笔记包含层级标记、分支折叠状态和逻辑分组成员,方便通过仅同步 Markdown 文件的服务在设备之间共享这些状态。
npm install
npm run lint
npm run test:graph
npm run build
MIT. See LICENSE.
Third-party design references and license notes are documented in THIRD_PARTY_NOTICES.md.
本项目采用 MIT 许可证,详见 LICENSE。第三方设计参考和许可证说明见 THIRD_PARTY_NOTICES.md。