您的位置:首页 > 其它

Mac上用sublime画UML

2016-08-05 10:41 239 查看


需要:


java  
sublime  
graphviz  
sublime-plantuml插件
插件:

使用 
Command-Shift-P
 打开 
Command
Palette

输入 
add repository
 找到 
Package
Control:Add Repository

在下方出现的输入框中输入 
https://github.com/jvantuyl/sublime_diagram_plugin.git
 然后回车
等待添加完成后再次使用 
Command-Shift-P
 打开 
Command
Palette

输入 
install package
 找到 
Package
Control:Install Package

等待列表加载完毕,输入 
diagram
 找到 
sublime_diagram_plugin
 安装
重启 
Sublime Text



Install graphviz on Mac OSX


About the App

App name: graphviz
App description: Graph visualization software from AT&T and Bell Labs
App website: http://graphviz.org/


Install the App

Press 
Command+Space
 and
type Terminal and press enter/return key.
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null


and press enter/return key. Wait for the command to finish.
Run:
brew install graphviz


Done! You can now use 
graphviz
.

遇到问题:

打开sublime 提示 Unable to load diagram plugin,
check console for details。控制台具体提示Exception: No working processors found!
google后   https://github.com/jvantuyl/sublime_diagram_plugin/issues/12 这个人遇到同样问题。他重安graphviz修复。跟帖的一个人和我一样重安还是不行。执行 brew
link --overwrite graphviz 解决。

使用:具体使用自行搜索plantuml,command+m 生成图。


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: