<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>PlantUML on 桃花岛种桃</title><link>https://blog.kangq.wang/tags/plantuml/</link><description>Recent content in PlantUML on 桃花岛种桃</description><generator>Hugo -- 0.155.3</generator><language>zh-cn</language><lastBuildDate>Sun, 18 Sep 2022 13:13:30 +0000</lastBuildDate><atom:link href="https://blog.kangq.wang/tags/plantuml/index.xml" rel="self" type="application/rss+xml"/><item><title>使用plantUML画图的工具准备</title><link>https://blog.kangq.wang/shiyongplantumlhuatu/</link><pubDate>Mon, 26 Dec 2016 00:00:00 +0000</pubDate><guid>https://blog.kangq.wang/shiyongplantumlhuatu/</guid><description>&lt;p&gt;用plantUML画图的工具很多，官方提供的安装包不是很好用，在线工具中文字体显示太别扭。于是选择本地文本编辑器+渲染插件这个路子，并且兼顾多平台。网上sublime资料多，因此所选工具如下：&lt;/p&gt;
&lt;!-- more --&gt;
&lt;ol&gt;
&lt;li&gt;文本编辑器sublime text；&lt;/li&gt;
&lt;li&gt;渲染插件&lt;a href="https://github.com/jvantuyl/sublime_diagram_plugin"&gt;sublime_diagram_plugin&lt;/a&gt;；&lt;/li&gt;
&lt;li&gt;渲染插件依赖软件Java和Graphviz。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;具体安装配置如下：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;安装sublime以及插件sublime_diagram_plugin参考博文&lt;a href="http://3gek.farbox.com/post/zhe-teng/sublime-text-an-zhuang-plantumlkuo-zhan"&gt;sublime text 安装plantUML扩展&lt;/a&gt;;&lt;/p&gt;</description></item><item><title>sublime text 安装 plantUML扩展</title><link>https://blog.kangq.wang/sublimetextanzhuangplantuml/</link><pubDate>Wed, 21 Dec 2016 00:00:00 +0000</pubDate><guid>https://blog.kangq.wang/sublimetextanzhuangplantuml/</guid><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;上sublime管网下载安装包并安装；&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;给sublime安装package control扩展：&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- more --&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;通过&lt;strong&gt;View-&amp;gt;Show Console&lt;/strong&gt;打开console面板，复制以下Python代码到面板，回车，不出错的话就回自动下载安装；&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;sublime2复制以下代码：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;import urllib2,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>