[jboss-user] [jBPM] - Re: How to generate PNG image of Process Definition programmatically from KnowledgeBase? Without using Web Designer or Eclipse Designer..

Tihomir Surdilovic do-not-reply at jboss.com
Sun Jul 7 19:09:17 EDT 2013


Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: How to generate PNG image of Process Definition programmatically from KnowledgeBase? Without using Web Designer or Eclipse Designer.."

To view the discussion, visit: https://community.jboss.org/message/826764#826764

--------------------------------------------------------------
AFAIK this is not currently possible. In jBPM Designer you have the option to save the process SVG representation every time you save a process (or when autosave kicks in) -  https://github.com/droolsjbpm/jbpm-designer/blob/master/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/profiles/jbpm.xml#L51 https://github.com/droolsjbpm/jbpm-designer/blob/master/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/profiles/jbpm.xml#L51

with this you can have your svg alongside the process and convert svg->png if needed using batik or some other lib

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826764#826764]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130707/e616278d/attachment-0001.html 


More information about the jboss-user mailing list