本文链接 https://blog.csdn.net/Ming2017123123/article/details/99109748
绘制脑图
- org-mind-map 是一个创建graphviz有向图的emacs包
- 可导出多种格式
安装
org-mind-map 的github 主页 https://github.com/theodorewiles/org-mind-map
emacs 环境
graphviz 环境
添加配置
-
添加到配置文件里
;; This is an Emacs package that creates graphviz directed graphs from ;; the headings of an org file (use-package org-mind-map :init (require 'ox-org) :ensure t ;; Uncomment the below if 'ensure-system-packages` is installed ;;:ensure-system-package (gvgen . graphviz) :config (setq org-mind-map-engine "dot") ; Default. Directed Graph ;; (setq org-mind-map-engine "neato") ; Undirected Spring Graph ;; (setq org-mind-map-engine "twopi") ; Radial Layout ;; (setq org-mind-map-engine "fdp") ; Undirected Spring Force-Directed ;; (setq org-mind-map-engine "sfdp") ; Multiscale version of fdp for the layout of large graphs ;; (setq org-mind-map-engine "twopi") ; Radial layouts ;; (setq org-mind-map-engine "circo") ; Circular Layout )
使用
* example tree
** branch A
** branch B
*** sub-branch 1
*** sub-branch 2
*** sub-branch 3
- M+x org-mind-map-write 生成图片
- 可选格式 png, pdf, jpeg, svg, eps, gif, tiff