版權聲明:隨便轉, 記得給個鏈接過來哦 https://blog.csdn.net/wk52525/article/details/79362904 </div>
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-cd6c485e8b.css">
<div id="content_views" class="markdown_views prism-atom-one-dark">
<!-- flowchart 箭頭圖標 勿刪 -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
</svg>
<blockquote>
idea對activiti工作流的支持沒有eclipse那么好, 一般我們都是使用actiBPM插件來支持工作流。
但是有一個問題,就是創建bpmn文件時不會自動創建png流程圖。
之前在網上看到一種解決辦法:
先將bpmn文件修改成xml文件
然后右鍵點這個xml文件,在選項中選擇diagrams,然后選擇show Designer
就可以看到流程圖,然后Export to file保存png文件。
- 1
- 2
- 3
- 我試了一下,但是在xml文件右鍵菜單中並沒有找到Diagrams選項。
- 后來找到問題所在,原來是因為有一個jbpm2.0的插件沒有開啟
- 開了這個插件后,果然xml右鍵菜單顯示有Diagrams或Designer選項了
- 點開后,顯示流程圖,點擊Export to file導出png
- 成功導出!