用EMACS生成脑图(mind-map)

本文链接 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 环境

官网 http://graphviz.org/

添加配置

  • 添加到配置文件里

    ;; 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
    生成的png格式的图片
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值