Tihomir Surdilovic
2013-07-07 23:09:17 UTC
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]
"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]