jbpm4.4根据.jpdl.xml流程定义文件,得到流程图.pnghttp://www.oecp.cn/hi/yangtaoorange/blog/5804
只需将.jpdl.xml文件传过来,就可以根据这个文件解析出来.png图片

http://javaintelligence.blogspot.com/2010/08/jboss-jbpm-generating-image-at-runtime.html
写到:
Was tested with the latest version of JBPM 4.4 and works normally.
The following is a direct access to source code containing also the icons. The icons are extracted from a JAR used by the modeler of the eclipse ide.
http://www.planetacontabil.com.br/jbpm_image_sample.jar

先看节点类的定义:

其次是Transition的定义:


  1.  

类JpdlModel

根据JpdlModel绘制出流程图

工具类,用来计算一些坐标的

测试