mirror of
https://github.com/qiuos/linkmind.git
synced 2026-07-22 07:08:17 +00:00
No description
| .gitignore | ||
| esbuild.config.mjs | ||
| main.js | ||
| main.ts | ||
| manifest.json | ||
| ob思维导图插件.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| versions.json | ||
OneMind
OneMind is an editor-first Obsidian mind map plugin. It opens the current Markdown note as a clean SVG + DOM mind map and writes edits back to plain Markdown.
MVP Features
- Open the active Markdown note in a full-page OneMind view.
- Switch from Markdown to OneMind and focus the node matching the current heading.
- Copy a selected node as a standard
obsidian://openURI with a heading anchor. - Parse headings and unordered lists into a tree.
- Render a horizontal mind map with SVG Bezier links and DOM nodes.
- Choose between right-facing and balanced two-sided layouts.
- Add child nodes with
Tab, add sibling nodes withEnter. - Duplicate nodes and restructure with
Alt/Option + Arrow keys. - Use the node context menu for common edit, copy, tag, export, and delete actions.
- Long-press nodes on touch devices to open the same context menu.
- Edit nodes with
F2or double click. - Add, replace, or clear node emoji icons; icons are stored as leading emoji in Markdown text.
- Show Markdown tags such as
#todoor#ideaas node badges. - Add or clear Markdown tag badges from selected nodes, including multi-selections.
- Filter the visible mind map by tag from tag badges or the command palette.
- See visible/total node counts, selected count, zoom, filter, and save state in the canvas status bar.
- Copy a selected branch as Markdown and paste Markdown from the clipboard as child or sibling nodes.
- Delete nodes with
DeleteorBackspace. - Multi-select nodes with
Ctrl/Cmd + click, range-select withShift + click, and select all withCtrl/Cmd + A. - Apply delete, collapse, and emoji actions to the current multi-selection.
- Drag nodes onto another node to make them children, or between nearby nodes to reorder siblings.
- Collapse or expand nodes with
Space. - Expand or collapse the full map from toolbar actions or commands.
- Search nodes with
/, then useEnterandShift + Enterto move through matches. - Navigate large maps with the collapsible outline panel.
- Move selection with arrow keys.
- Pan with blank-canvas drag.
- Zoom with mouse wheel or
Ctrl/Cmd +andCtrl/Cmd -. - Fit to view with
Ctrl/Cmd + Shift + F, focus selection withCtrl/Cmd + F. - Basic local undo and redo with
Ctrl/Cmd + ZandCtrl/Cmd + Shift + Z. - Inline rendering for
**bold**,`code`, and[[wikilinks]]. - Draw dashed cross-branch association links from local wikilinks like
[[#Target]]or[[Target]]. - Export the current mind map as
.onemind.svgor.onemind.pngbeside the source note. - Export only the selected branch as SVG or PNG from commands.
- Configure PNG export scale and transparent background.
- Preserve frontmatter and leading non-map Markdown when writing edits back.
- Resolve external Markdown changes with a conflict prompt when local mind map edits are still unsaved.
- Responsive toolbar treatment for narrow/mobile panes.
- Chinese and English UI language setting.
- Settings for layout direction, auto-save delay, default expand depth, animation, visual branch color pickers, and export behavior.
- Obsidian commands for node editing actions, ready for custom hotkeys.
Development
npm install
npm run dev
For a production build:
npm run build
Copy or symlink this folder into an Obsidian vault under .obsidian/plugins/onemind, then enable the plugin from Obsidian settings.