Skip to content

Releases

2.0.4

Choose a tag to compare

@github-actions github-actions released this 16 Nov 02:58

更新内容 / What's changed

折叠与导航 / Folding and navigation

  • Z 聚焦一支分支。 选中卡片按 Z,导图以它为根重新排布、其余分支收起,几百张卡的图变成读得过来的一支;再按一次 Z,或点路径行开头新多出的「整张导图」一步,整张图连同原来的视角一起回来。它只是看的方式:笔记、折叠、撤销栈一个字都不动,也不跨会话记住;聚焦的卡片被删掉或改得认不出来时,聚焦自己结束。
    Z zooms into a branch. With a card held, the map lays itself out from that card as its root and puts every other branch away -- a few hundred cards become one branch you can actually read. The same key again, or the Whole map step the path row now starts with, brings the map back with its camera. It is a way of standing, nothing more: the note, the folds and the undo stack are untouched, nothing is remembered between sessions, and a zoomed card that is deleted or rewritten past finding ends the zoom by itself.

卡片与块 / Cards and blocks

  • 网页链接可以直接拖进导图。 从浏览器拖一个链接、或者把地址栏里的网址拖到卡片上,落点下面就多一张外部链接卡片:名字用你拖的那个链接的文字,地址栏拖来的用站名(www. 去掉),卡片直接把站点卡片展开 —— 站名、完整地址、在浏览器打开的按钮。和笔记卡片一样是链接,改名、拖动、删除、撤销都照常;一次拖动算一步撤销,落空白处挂到根节点下。只认 http/https,obsidian://、mailto: 仍不收。
    A web link can be dragged straight onto the map. Drag a link out of a page, or the address out of the address bar, and a link card appears where it landed: named by the link's own words, or by the site (www. dropped) when the drag carried none, with its site card already open -- the site's name, the full address and a button that hands it to the browser. It is a link like any other card, so rewriting it, dragging it, deleting it and undoing that all work as usual; the whole drag is one undo step, and empty canvas puts it under the root. Only http/https are taken -- obsidian:// and mailto: are still refused.

Full changelog: 2.0.3...2.0.4

安装 / Install

手动安装: 把下方的 main.js、manifest.json、styles.css 下载到

<your vault>/.obsidian/plugins/mindflow/

然后在 设置 → 第三方插件 中启用 MindFlow。
(或者下载 mindflow.zip,解压到 .obsidian/plugins/ 下,一个文件搞定。)

BRAT: 把 AuroraEchop/MindFlow 添加为 beta 插件。

Manual: download main.js, manifest.json and styles.css below into the folder above,
then enable MindFlow in Settings → Community plugins.
(Or download mindflow.zip and unzip it into .obsidian/plugins/ -- one download instead of three.)

BRAT: add AuroraEchop/MindFlow as a beta plugin.

用法 / Use it

打开一篇笔记,在命令面板里运行 Toggle mind map view —— 给它绑一个快捷键,
用起来就像切换阅读模式。导图在同一个标签页、同一个文件上打开,不会创建任何文件。

Open a note and run Toggle mind map view from the command palette —
assign it a hotkey to make it feel like switching reading mode. The map
opens in the same tab, on the same file. No files are ever created.

Built from 2.0.4 with tests and typecheck passing.

2.0.3

Choose a tag to compare

@github-actions github-actions released this 17 Oct 13:13

更新内容 / What's changed

本版主线:链接卡片就地展开、查找把命中的字标出来,以及把图片直接贴到卡片上。
Three things lead this release: link cards that open where they stand, finds that mark the words they matched, and pictures pasted straight onto a card.

链接卡片 / Link cards

  • 就地打开。 点标题行看那篇笔记的头几行,行右端的 › 把它的大纲拉成子树,两者都不写另一篇笔记;投影出来的卡片只读,Ctrl/Cmd+点击才在新标签页打开来源笔记并跳到那一行,来源被改动时自己刷新。
    Opens where it stands. A title line shows the first lines of the note it names, and the › beside it pulls that note's outline in as a subtree -- neither writes to the other note. A projected card is read-only: Ctrl/Cmd+click opens the source in a new tab at that line, and edits to it refresh the tree by themselves.
  • 预览照 markdown 画。 代码块、表格、> [!类型]、图片视频都照常画出来,显示多少由新设置链接卡预览行数(默认 6)决定;写在正文里的链接也就地预览,Ctrl/Cmd+点击才是真的跳过去。单击只选中卡片,开合只认标题行、行右端的箭头,以及正文里写着的那条链接。
    The preview is drawn as markdown -- samples, tables, callouts, pictures and videos included -- and the new Link card preview lines setting (6 by default) decides how much shows. A link written in prose previews where it stands too, and Ctrl/Cmd+click is what goes there. A plain press only picks a card now: opening and closing belong to the title line, the arrow beside it, and a link written in prose.
  • 判定放宽,站外另有卡片。 () [[笔记]]、[[笔记]]。、[标签](笔记) 现在都算链接卡片;指向库外的链接给一张自己的卡片(站点名、地址、在浏览器中打开),不做 iframe 内嵌。
    What counts is wider, and the outside gets a card of its own: () [[Note]], [[Note]]。 and [label](Note) all qualify, and a link that leaves the vault shows the site's name, the rest of the address and a button that opens it in the browser -- no embedded frame.

查找与筛选 / Finding and filtering

  • 搜索读整篇笔记(含正文卡片), 收窄成只搜卡片标题,Aa 让大小写算数;命中的字像荧光笔一样被标出来,荧光笔按钮把其余命中也一起标上。
    The search reads the whole note, content cards included; narrows it to card titles and Aa makes case matter. The matched words are marked the way a highlighter goes over them, and the highlighter button marks every other match as well.
  • 点标签就是筛选。 不带该标签的分支淡下去,Ctrl/Cmd+点击取并集、再点一次拿下,Esc 清空,嵌套算数;正文卡片跟着所属的卡片一起留、一起淡。
    Pressing a tag filters the map: branches without it fade back, Ctrl/Cmd+click adds another and the same one again takes it off, Esc clears, and nesting counts. A note-content card stays or fades with the card that owns it.

折叠与导航 / Folding and navigation

  • 展开到第 N 层(右键工具栏的折叠按钮:全部展开 / 1–4 层 / 全部折叠),以及只看一支分支(卡片右键菜单,其余淡出、它上面那条链留着,再点一次或 Esc 复原)。
    The map opens to a depth -- right-click the toolbar's fold button for expand-all, levels 1-4 or collapse-all -- and one branch can be looked at alone from a card's menu: the rest fades, the chain above it stays, and the same entry or Esc brings the map back.
  • 路径条住进标题栏。 选中卡片时写出从根到它的标题,每一段都能点,没有选中时不占位。它不再压在画布上,而是紧挨着右侧那组按钮;面板变窄时它先交出宽度,上面几段截成省略号,你正看着的那段保持完整。
    The path bar lives in the pane's header: the chain of titles down to the selected card, each step pressable, taking no room with nothing selected. It sits beside the pane's own buttons rather than across the canvas, and gives its width up first as the pane narrows -- the steps above truncate, the one you are on stays whole.

卡片与块 / Cards and blocks

  • 列表、分隔线、引用块按原样画了,标记留在笔记写的位置,缩进一层就是嵌套一层,不再被读成一段普通文字。
    Lists, thematic breaks and quotes are drawn as themselves, markers kept where the note wrote them and indentation as nesting, where they used to fall through to a paragraph.
  • 正文卡片按住半秒可以搬走,原位留虚线占位;卡片上的链接和按钮不参与这个手势。
    A prose card can be picked up by holding it for half a second, with a dashed slot left behind; links and buttons on it are left out of the gesture.

大纲与笔记 / Outline and notes

  • 大纲里点标题:导图模式下选中那张卡片(挡着的分支顺路展开,卡片移到正中),编辑器模式照旧跳到那一行 —— 不再闪一下,也不再被换回 Markdown。
    Pressing a heading in the outline selects that card while the note is a map -- opening whatever hid it and centring it -- and still scrolls to the line in editor mode. No flicker, and no being swapped back to markdown.
  • 可以把 .md 拖进导图:落点那张卡片下面多一张 [[笔记名]],整次拖动算一步撤销,并顺手把那篇笔记的大纲展开。
    A .md can be dragged onto the map: a [[Note]] card appears under the card it landed on, the whole drag counting as one undo step, with that note's outline already open.

粘贴图片 / Pasted pictures

  • 图片可以直接贴到卡片上。 选中一张卡片(或把它打开成编辑中)按 Ctrl/Cmd+V:图片存进 Obsidian 的附件目录,命名与编辑器一致、重名加编号而不覆盖,卡片上直接画出这张图。根卡片和投影卡片不接,没有选中卡片时粘贴不会加任何东西,一次也只收一张。
    A picture can be pasted straight onto a card: pick one -- or have it open for editing -- and press Ctrl/Cmd+V. The picture goes into Obsidian's attachment folder under the editor's own naming, a number rather than an overwrite, and the map draws it on the card. The note's own card and projected cards are refused, a paste with no card picked adds nothing, and one picture at a time is all a card takes.
  • 复制的图片网址会被抓下来存成本地文件(服务器说不是图片就不收)。这是本插件唯一一次替你联网,只因为你亲手粘贴了一个网址 —— 导图自己画图时从不联网。
    A copied image address is fetched once and kept, and a server that says it is not serving a picture is refused. That is the one time this plugin goes to the network, and only because you pasted an address; the map itself never reads anything in order to draw a note.

修复 / Fixed

  • 有些快捷键根本按不动,现在真的能用了。 F2、Ctrl/Cmd+H、Ctrl+Shift+Tab 这些键 Obsidian 自己也绑着,被它的键盘管线先一步吃掉;现在带修饰键和功能键的改由视图的快捷键作用域认领,导图开着时先归导图。F2 不再是导图的快捷键(改标题用双击),它连同几处死代码一起还给了 Obsidian。
    Some shortcuts did nothing at all; now they work. F2, Ctrl/Cmd+H and Ctrl+Shift+Tab are keys Obsidian binds itself, and its keymap answered them first; every combo carrying a modifier or a function key is now claimed on the view's own scope, so the map answers while it is open. F2 is no longer a map shortcut -- a title is edited by double-clicking -- and it goes back to Obsidian, with a few dead exports and rules swept out alongside.
  • 双击笔记自己那张卡片改的是文件名:走笔记库重命名,[[链接]] 跟着改,md 模式同步,不再弹一句「请自己重命名这篇笔记」。
    A double-click on the card that is the note renames the file: through the vault, with links and the editor following, instead of a notice telling you to go and do it yourself.
  • 快捷键一览按此刻生效的设置生成:改过的键按你改的显示,没绑的那行不出现,鼠标滚轮 与 拖动模式 决定的那几行跟着变。滚轮平移(上下、一格一格)和拖动平移(跟着手走)分成两行,不再让人自己拼。
    The shortcut panel is generated from the settings in force: a rebound key shows as you bound it, an unbound action gets no row, and the rows the Wheel and Drag mode settings decide change with them. The wheel's pan (up and down, a notch at a time) and a drag's pan (wherever the hand goes) are two rows now, not one the reader has to add up.
  • 标题栏和标签页菜单不再各多出一份「以 Markdown 编辑」,切换按钮也固定在两边同一个位置(右上角右边数第二个),来回切不必再找图标。
    Neither the header nor a tab's menu offers "edit as markdown" twice any more, and the map/editor toggle sits in the same slot on both rows -- second from the right -- so switching no longer means hunting for the icon that moved.
  • 卡片不再挤成一团,也不再带回旧尺寸。 读不到尺寸的卡片不再按 0 尺寸排版,平移露出的卡片一定会被测量;「长什么样」和「多大」来自同一次绘制,改媒体最大高度一类的设置时视野外的图片卡片也跟着重算。
    Cards no longer pile up, and no longer come back at an old size. A size that cannot be read is not written into the layout and every card a pan reveals is measured; what a card looks like and how big it is come from the same paint, so changing a setting a card is shaped by -- Maximum media height among them -- re-measures the off-screen picture cards too.
  • 几处小毛病:卡片状态按位置记,块搬走后不会传给住进那个位置的卡片;投影卡片的折叠加号能按了;不再同时弹两个提示;箭头退回字形时不再是实心三角;点标题行就能开合预览,正文卡片上那条链接也一样。
    A handful of small ones: card state is recorded per slot and no longer handed to whatever moves into it, the fold button on a projected card works, duplicate tooltips are gone, the arrow's text fallback is no longer a solid triangle, and pressing a title line opens and closes its preview -- on prose cards as well.

Full changelog: 2.0.2...2.0.3

安装 / Install

手动安装: 把下方的 main.js、manifest.json、styles.css 下载到

<your vault>/.obsidian/plugins/mindflow/

然后在 设置 → 第三方插件 中启用 MindFlow。
(或者下载 mindflow.zip,解压到 .obsidian/plugins/ 下,一个文件搞定。)

BRAT: 把 AuroraEchop/MindFlow 添加为 beta 插件。

Manual: download main.js, manifest.json and styles.css below into the folder above,
then enable MindFlow in Settings → Community plugins.
(Or download mindflow.zip and unzip it into .obsidian/plugins/ -- one download instead of three.)

BRAT: add AuroraEchop/MindFlow as a beta plugin.

用法 / Use it

打开一篇笔记,在命令面板里运行 Toggle mind map view —— 给它绑一个快捷键,
用起来就像切换阅读模式。导图在同一个标签页、同一个文件上打开,不会创建任何文件。

Open a note and run Toggle mind map view from the command palette —
assign it a hotkey to make it feel like switching reading mode. The map
opens in the same tab, on the same file. No files are ever created.

Built from 2.0.3 with tests and typecheck passing.

2.0.2

Choose a tag to compare

@github-actions github-actions released this 19 Sep 17:57

更新内容 / What's changed

笔记里嵌入的图片现在直接画在卡片上,点一下还能盖在导图上放大预览,视频也能在卡片上播;另外修好了就地编辑的三处手感:输入法的回车不再误关编辑框,注解条里 Enter 用来换行、代码块里 Shift+Enter 用来另起一行,Tab 也不会再把焦点扔到别处。
An embedded picture is drawn on the card now and opens enlarged over the map when clicked, and a video plays in place; plus three fixes to how in-place editing feels: an input method's Enter no longer closes the field, Enter writes a line in an annotation and Shift+Enter starts one in a code block, and Tab no longer throws the focus somewhere else.

新增 / Added

  • 按住 Space 拖鼠标,可以在任何地方平移画布。 以前只有空白处的拖拽是平移,指针一落在卡片上就变成拖动卡片或者选中卡片里的文字 —— 而想看一眼被挡住的角落时,卡片恰恰就在那儿。现在按住 Space,指针变成手形,左键从哪里按下去都拖动画布:卡片上、代码块里、表格上都一样,压在文字上也不会变成选中文字。按住期间鼠标整块归画布,所以点卡片也不会顺带把它选中。
    Hold Space and drag to pan the canvas from anywhere. Only blank space used to pan: the moment the pointer crossed a card it became a card drag, or a drag-select of that card's text — and a card is exactly what is in the way when you want to see what is behind it. With Space held the pointer turns into a hand and a left press pans from wherever it lands: over a card, inside a code sample, across a table, without selecting a word of it. While the key is down the mouse belongs to the canvas, so a click does not select a card on the way past.
  • 图片画在卡片上。 ![[hero.png]] 和 ![hero](hero.png) 不再是带文件名的斜体标签,而是图片本身。按它自己的尺寸画、绝不放大;宽度受卡片最大宽度限制,高度受新增的媒体最大高度限制(默认 200 像素)。![[hero.png|120]] 里的数字是宽度上限,![[hero.png|色带]] 里的竖线后面是别名。只有笔记库里的文件会被画出来 —— ![](https://…) 这类远程地址保持标签,导图不会替你联网。
    Pictures are drawn on the card. ![[hero.png]] and ![hero](hero.png) are the picture itself rather than an italic chip carrying its name. Drawn at its own size and never enlarged; its width is capped by Maximum card width and its height by the new Maximum media height (200 pixels by default). The number in ![[hero.png|120]] is a width cap, and a name after the pipe in ![[hero.png|The bands]] is an alias. Only files in the vault are drawn — a remote address such as ![](https://…) stays a chip, because the map never goes to the network on your behalf.
  • 视频卡片是一张首帧静止画面,鼠标移上去才出现两个圆钮:▶(右下角)就地播放,卡片变成带进度条、音量和全屏的播放器;⧉(右上角)用 Obsidian 自己的播放器打开这个文件。开始播放后卡片不再是链接,点画面是暂停而不是打开文件。
    A video card is a still frame with two circles, shown while the pointer is over it: ▶ (bottom right) plays it in place, turning the card into a player with a scrubber, volume and full screen, and ⧉ (top right) opens the file in Obsidian's own player. Once it is playing the card is no longer a link — clicking the picture pauses it rather than opening the file.
  • 导出文件自带图片。 导出的 SVG / PNG / HTML 里,图片会内嵌成 data URI,所以拷到别的机器、用浏览器打开都能看到 —— 以前那里是空白。视频不内嵌(体积太大),导出时退回成文字标签。
    An exported file carries its pictures. In an exported SVG, PNG or HTML the pictures are inlined as data URIs, so the file shows them anywhere, on any machine — where they used to be blank. Videos are not inlined, because a minute of video is far too much to put in an HTML file; a video falls back to a text chip.
  • 两个新设置:显示图片和视频(默认开)和媒体最大高度(80–480,默认 200)。关掉前者,所有嵌入回到原来的标签形态。
    Two new settings: Show pictures and videos (on by default) and Maximum media height (80–480, 200 by default). Turn the first one off and every embed goes back to the chip it was.
  • 点一下就放大预览。 点图片或视频,它会盖在导图上放大显示,背景变暗;点暗处、按 Esc、或点右上角的 ✕ 关掉。不跳标签页,也不离开你正在看的这张图 —— 要打开文件本身,按住 Ctrl/Cmd 再点(视频另有右上角的 ⧉)。预览最多放大到自身尺寸的 2 倍,再大只是把像素拉糊。
    Click a picture or a video to enlarge it. It covers the map, the backdrop goes dark, and clicking that backdrop, pressing Esc or using the ✕ in the corner puts everything back. No new tab, and no losing your place in the map — to open the file itself instead, hold Ctrl/Cmd while you click (a video also has ⧉ in its top right). A preview enlarges up to twice the media's own size; past that it only stretches pixels.
  • 正文块卡片可以折起来了 —— 段落、代码块、表格都行,不再只有代码块。卡片侧面多了和父节点一样的折叠按钮,点一下整块只剩第一行内容(代码块留下的正好是围栏那行,写着语言;段落留下的是第一句),按钮留在原处等着把整块展开;再点一下展开。只有一行的块没有这个按钮:折起来还是那一行,等于没折。按钮一直都在,状态和折叠父节点一样按笔记记住,从不写进你的 markdown。
    Any content card can be folded — paragraphs, code and tables alike, not just code blocks. The card carries the same fold button a parent card does: press it and the block is down to its first line of content (for a sample the opening fence, which names the language; for a paragraph its first sentence) and the button stays out in the open, where a folded branch shows its count, waiting to open the whole block again. A block of one line has no button, because folding it would still be showing that line. The button never goes away, and the fold is remembered per note exactly as a branch's is — never written into your markdown.
  • 代码块右上角多了语言角标和复制按钮。 围栏声明的语言写在卡片右上角,鼠标移上去(或键盘聚焦时)多出一个复制按钮,点一下整段代码进剪贴板,成功时变成 ✓;两者都绝对定位在代码上方,既不改变卡片尺寸,也不会被当成代码的一部分。导出的文件里不带这个按钮(它就是给界面用的),语言角标留着。
    A sample's corner carries its language and a copy button. The language the fence named sits in the top right of the card, and a copy button arrives under the pointer (or on keyboard focus) which puts the whole sample on the clipboard and turns into a ✓ while it does; both are absolutely positioned above the code, so neither changes the card's size and neither reads as part of the sample. An exported file does not carry the button — it is there for the interface — and keeps the language.
  • 导图里能查找替换了。 Ctrl/Cmd+H 打开查找栏并直接展开替换行(Ctrl/Cmd+F 仍然只查找)。两个按钮是只替换这张卡片和全部替换,在替换框里按 Enter 就是全部替换。替换改的是笔记里的原文,所以 **加粗** 里的字被替换时,星号原地不动;一次替换不论动了多少张卡片,都只算一步撤销。
    Find and replace, on the map. Ctrl/Cmd+H opens the find bar with its replace row already showing (Ctrl/Cmd+F still only finds). The two buttons are Replace in this card and Replace all, and Enter in the replace field is Replace all. A replacement writes into the note's source, so replacing a word inside **bold** leaves the asterisks where they were; and however many cards one replacement touches, it is one undo step.
  • 一次可以选中好几张卡片。 按住 Shift(或 Ctrl/Cmd)点卡片就把它加进选中,再点一次退出;在空白处按住 Shift 拖拽会拉出一个框,框住几张就选中几张。多选时 Delete 一次删掉全部,Space 一次折叠或展开全部 —— 都是一步撤销。框选和加选只动内存里的选中状态,笔记一个字都不改。
    Several cards can be selected at once. Hold Shift (or Ctrl/Cmd) and click a card to add it, click it again to drop it; hold Shift on blank canvas and drag to sweep a box, and every card it covers is selected. With more than one selected, Delete removes them all and Space folds or opens them all — each as one undo step. Banding and adding only move the selection in memory; the note is not touched.
  • > [!note] 这样的 callout 现在画成卡片。 图标、标题、正文各就各位,颜色按类型区分,和 Obsidian 阅读视图里看到的是同一套;笔记没写标题时用 Obsidian 内置的那个标题(跟随界面语言)。> [!note]- 折叠成只剩标题,> [!note]+ 展开,> [!note] 里的表格照样画成表格。自定义类型(> [!我的类型])照画,用默认配色和笔记里写的那个词做标题。
    A callout such as > [!note] is drawn as a card. Icon, title and body each take their place, the colour follows the type, and it is the same set Obsidian's reading view uses; with no title in the note the card shows Obsidian's own title for that type, in your interface language. > [!note]- folds it down to the title, > [!note]+ opens it, and a table inside a callout is still a table. A custom type (> [!my-type]) is drawn too, in the default colour, titled with the word the note wrote.
  • #标签 画成徽章。 只有行首、空格或左括号后面的 # 才算标签,所以 C#、网址里的 #anchor 和 #42 都还是普通文字 —— 和 Obsidian 自己的判断一致。
    A #tag is drawn as a badge. Only a # that opens the line or follows a space or an opening bracket counts as a tag, so C#, a URL's #anchor and #42 all stay ordinary text — the same rule Obsidian itself uses.
  • 节点可以链接到别的笔记。 右键菜单里多了「链接到某篇笔记…」「由该节点新建笔记」「打开链接的笔记」和「移除链接」,命令面板里也有对应的命令,都可以自己绑键。链接写进笔记就是普通的 [[笔记名]],不是插件自己的格式,Obsidian 里照样能点。
    A node can link to another note. The card's menu now carries Link to a note…, New note from this node, Open the linked note and Remove the link, with matching commands in the palette, all rebindable. What lands in the note is an ordinary [[Note name]] rather than a format of the plugin's own, so it still works in Obsidian.
  • 新增「分支配色」设置。 经典是原来的那十种颜色,跟随主题改读 Obsidian 自己的 --color-*,让导图和界面其余部分同一个调子。两种配色都不写进笔记,导出的图里也照常带着颜色。
    A new "Branch palette" setting. Classic is the ten colours the map has always used; Follow the theme reads Obsidian's own --color-* instead, so the map sits in the same key as the rest of the interface. Neither is written into the note, and an exported file carries the colours either way.
  • 代码块卡片可以拖着搬走了。 拖到另一张卡片上,它成为那张卡片的正文块;拖到一张卡片的上下边缘,它落到那张卡片旁边 —— 也就是成为那张卡片父节点的正文块;拖到另一张代码块卡片上,它落在那一块的上方或下方。搬动只改「把块挂到所属节点上」的那段缩进(两个节点正文列之差),块里的行一个字节都不动,所以围栏、代码、注释原样保留。怎么拿起一块:按住它的折叠按钮拖 —— 块在卡片上直接拖是选中和预览,不是搬家;按钮就长在卡片与父节点的连线上,正好是拿起它的地方。段落和表格同样能这样搬(以前只有围栏代码块能拖),因为搬的是行范围,和那几行写的是什么无关。
    A code block card can be dragged somewhere else. Drop it on another card and it becomes that card's own body; on a card's top or bottom edge and it lands beside that card, as a block of that card's parent; on another code block card and it lands above or below that one. The move changes only the indentation that attaches a block to the node it hangs under — the difference between the two nodes' body columns — and touches not one byte inside the block, so fences, code and comments come through exactly as they were. How a block is picked up: hold its fold button and drag — dragging on the card itself selects and previews rather than moving; the button sits on the connector between the card and its parent, which is exactly where picking it up belongs. A paragraph or a table moves the same way (only fenced samples used to be draggable), because what moves is a range of lines and it does not matter what those lines say.
  • 拖动选中的卡片时,整组一起走。 选中好几张卡片后,拖动其中任意一张,整个选中都会跟着移动 —— 落在同一个位置,并保持它们在笔记里写的顺序,整个动作只算一步撤销。以前只有被抓住的那一张会动,而其余卡片上的选中圈一直在说它们也在这件事里。唯一的例外是正文卡片:...
Read more

2.0.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 17:03

更新内容 / What's changed

修复了插件审核报出的两处问题。插件的行为没有任何变化。
Fixes the two findings the plugin review reported. Nothing about how the plugin behaves has changed.

修复 / Fixed

  • 设置窗口的样式不再由代码直接写,改为样式表里的两个类;拖动窗口、把它停在你想停的地方,表现和以前一模一样。
    The settings window no longer writes its own styles from code -- they are two classes in the stylesheet now. Dragging it, and pinning it where you leave it, work exactly as before.
  • 启动时写的那行版本日志从 console.log 改成了 console.debug,所以默认不再显示;在控制台里打开 Verbose 就能看到正在跑的是哪个构建。
    The one line written on load is a console.debug rather than a console.log, so it no longer shows by default -- turn Verbose on in the console to see which build is running.

Full changelog: 2.0.0...2.0.1

安装 / Install

手动安装: 把下方的 main.js、manifest.json、styles.css 下载到

<your vault>/.obsidian/plugins/mindflow/

然后在 设置 → 第三方插件 中启用 MindFlow。
(或者下载 mindflow.zip,解压到 .obsidian/plugins/ 下,一个文件搞定。)

BRAT: 把 AuroraEchop/MindFlow 添加为 beta 插件。

Manual: download main.js, manifest.json and styles.css below into the folder above,
then enable MindFlow in Settings → Community plugins.
(Or download mindflow.zip and unzip it into .obsidian/plugins/ -- one download instead of three.)

BRAT: add AuroraEchop/MindFlow as a beta plugin.

用法 / Use it

打开一篇笔记,在命令面板里运行 Toggle mind map view —— 给它绑一个快捷键,
用起来就像切换阅读模式。导图在同一个标签页、同一个文件上打开,不会创建任何文件。

Open a note and run Toggle mind map view from the command palette —
assign it a hotkey to make it feel like switching reading mode. The map
opens in the same tab, on the same file. No files are ever created.

Built from 2.0.1 with tests and typecheck passing.

2.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 16:09

更新内容 / What's changed

MindFlow 的第一个版本。
The first release of MindFlow.

新增 / Added

  • 是一种视图模式,不是导出:在同一个标签页里把任意笔记切换成可编辑的放射状思维导图,不生成、不复制任何文件。每一次修改都按最小的行级编辑写回原来那份 .md,你没有动过的行逐字节原样返回,CRLF 也一样;frontmatter、围栏代码块、表格、HTML 和链接永远不会被重新格式化。
    A view mode, not an export: toggle any note into an editable radial mind map in the same tab, creating and copying nothing. Every edit goes back to the original .md as the smallest line-level change, and lines you never touched come back byte for byte, CRLF included — frontmatter, fenced code blocks, tables, HTML and links are never reformatted.
  • 在画布上就地编辑:重命名、新建、删除、缩进、拖拽改父级、拖拽调同级顺序、折叠、勾选复选框,都在卡片上直接完成,不弹对话框;悬停在卡片上出现的加号可以从这张卡片直接长出新节点。同级也可以用 Ctrl/Cmd+↑ / ↓ 从键盘换位,效果和把卡片拖到那个同级的边缘一样。
    Edit on the canvas: rename, create, delete, indent, re-parent by dragging, reorder siblings by dragging, fold and tick a checkbox, all on the card and with no dialog in the way; the plus that appears on hover grows a child straight from that card. Siblings also swap from the keyboard with Ctrl/Cmd+↑ / ↓, exactly as if the card had been dragged onto that sibling's edge.
  • 节点注解:标题或列表项下面写一行 : text,它贴在卡片下方以灰色文字和左侧竖线显示,而不是单独成卡。双击或右键菜单即可编辑,写回只替换注解自己的那几行;节点折叠时注解仍然可见,导出时也跟着它的卡片一起走。
    Node annotations: a line written as : text under a heading or list item hangs under that card in muted text behind a vertical rule instead of becoming a card of its own. Double-click one, or use the context menu, to edit it, and the write replaces only the annotation's own lines. An annotation stays visible when its node is folded, and goes into the exports with its card.
  • 正文卡片:段落、代码块和表格画在所属标题旁边,过长的内容按卡片宽度折行而不是撑破卡片;表格按表格画 —— 表头、列对齐、单元格里的行内标记都跟着来,而不是一段等宽文字;Shift+Enter 另加一段没有标题的文字块。
    Body cards: paragraphs, code blocks and tables are drawn beside the heading they belong to, and long content wraps at the card's width rather than bursting it; a table is drawn as a table — header row, column alignment and the inline markup inside its cells — rather than as a run of monospace text; Shift+Enter adds a plain block of text with no heading of its own.
  • 三种卡片样式(边框 / 圆角卡片 / 极简)、曲线或直角连线,角落工具栏可以停在四个位置,也可以在你选中卡片之前先藏起来。
    Three card styles (outline, rounded card, minimal), curved or right-angled connectors, and a corner toolbar that docks in any of four places or stays hidden until you pick a card.
  • 导图上的每个快捷键都能自己改:设置里的 Shortcuts 组逐条列出动作、它是干什么的、以及现在绑在哪个键上。Record 记下你按下的下一个键,× 清空这一行,改过的行多出一个箭头把默认键放回来;两个动作撞到同一个键时两行都会提示。改完立刻生效,已经打开的导图不用重开。
    Every key the map answers to can be changed: a Shortcuts group lists each action, what it does and what it is on. Record takes the next key you press, × leaves the row unbound, a reset arrow appears on any row you changed to put its default back, and a clash is called out on both rows. A change takes effect immediately, with no open map to reopen.
  • 设置是一个独立窗口,浮在导图之上 —— 调外观和结构时不用离开正在看的这张图。
    Settings are a window over the map, so changing how it looks and behaves does not mean leaving the map you are working on.
  • 一篇笔记一份撤销历史:Markdown 编辑器和导图共用同一个撤销栈,Ctrl/Cmd+Z 会一路回退过去。
    One undo history per note: the markdown editor and the map share a single stack, so Ctrl/Cmd+Z walks back through both.
  • 导图自带查找:Ctrl/Cmd+F 打开查找条,输入即搜,计数显示第几个 / 共几个,Enter / Shift+Enter 在命中之间来回跳,.* 切换成正则。匹配的是卡片上看到的文字而不是原始 Markdown,跳到折叠分支里的命中会自动展开,走过去之后折回。
    The map can find things: Ctrl/Cmd+F opens a find bar that searches as you type, counts which match you are on, steps with Enter / Shift+Enter and switches to a regular expression with .*. It matches the text you see on the card rather than the raw markdown, and opens a folded branch to reach a match and folds it back as you move on.
  • 导出为 Canvas、SVG、PNG 或 HTML:右下角面板、命令面板和标签页菜单三处入口,导出的就是眼前这张图,文件落在笔记旁边,不覆盖已有文件。
    Export to Canvas, SVG, PNG or HTML: from the corner panel, the command palette or the tab's menu, writing out the map as you see it beside the note and never over an existing file.
  • 回来时还是你离开时的样子:折叠形状和焦点按笔记记住,存在插件自己的数据里,从不写进你的 markdown;笔记改名、移动时状态跟着走,笔记删除时一并清掉。
    A map opens the way you left it: the fold shape and the card you were on are remembered per note, in the plugin's own data rather than in your markdown, and they follow the note when it is renamed or moved.
  • 界面中英双语,跟随 Obsidian 自己的语言设置。
    The interface ships in Chinese and English, following Obsidian's own language setting.
  • 大图不再卡:只有看得见的那一屏会被画出来,公式只排版一次,缩放停下来之后文字按你停住的倍率重画,所以放大了也清晰。
    Large maps stay smooth: only the screenful you can actually see is drawn, each formula is typeset once, and text is repainted at the zoom you stopped on, so it stays crisp when you zoom in.
  • 每份发布都带 LICENSE:GitHub release 的文件列表里有一份,手动安装出来的插件目录里也有一份。
    Every release ships LICENSE: it sits among the release's files and inside a plugin folder installed by hand.

安装 / Install

手动安装: 把下方的 main.js、manifest.json、styles.css 下载到

<your vault>/.obsidian/plugins/mindflow/

然后在 设置 → 第三方插件 中启用 MindFlow。
(或者下载 mindflow.zip,解压到 .obsidian/plugins/ 下,一个文件搞定。)

BRAT: 把 AuroraEchop/MindFlow 添加为 beta 插件。

Manual: download main.js, manifest.json and styles.css below into the folder above,
then enable MindFlow in Settings → Community plugins.
(Or download mindflow.zip and unzip it into .obsidian/plugins/ -- one download instead of three.)

BRAT: add AuroraEchop/MindFlow as a beta plugin.

用法 / Use it

打开一篇笔记,在命令面板里运行 Toggle mind map view —— 给它绑一个快捷键,
用起来就像切换阅读模式。导图在同一个标签页、同一个文件上打开,不会创建任何文件。

Open a note and run Toggle mind map view from the command palette —
assign it a hotkey to make it feel like switching reading mode. The map
opens in the same tab, on the same file. No files are ever created.

Built from 2.0.0 with tests and typecheck passing.