Thanks for your reply Macieji.
We were using RuleFlowProcessFactory API for creating workflow and same will be updated in guvnor repository using rest API's. we are not going to use designer for designing an workflow. Thought of using api to create it through our own screen.
The problem we are facing is like on successful creation and updation of process to guvnor repository , We would like to create SVG file for the respective process.
We are having application like order management system for each order one work flow will get triggered , on successful creation of order we would like to use SVG images to track an order. To get SVG images for the workflow we are using guvnor rest API’s.
The designer version we are using is 2.4.1.final.In this version after opening an process in designer on click of save process svg file is getting created automatically and stored in guvnor repository.i have Referred code from main.js file which is converting bpmn2 canvas object into svg : jbpm-designer/main.js at 2.6.x · droolsjbpm/jbpm-designer · GitHub
" var formattedSvgDOM = DataManager.serialize(ORYX.EDITOR.getCanvas().getSVGRepresentation(false));" we would like to achieve above one without using designer.
It will be helpful if we have any API or tool to create it similar to RuleFlowProcessFactory from bpmn2 file.
Thanks and Regards,