Skip to main content



      Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Generate an image from BPMN file using a java program. (Generate an image from BPMN file using a java program. )
Generate an image from BPMN file using a java program. [message #1173785] Wed, 06 November 2013 14:09 Go to next message
Eclipse UserFriend
Hi,
I've generated a BPMN file with Eclipse BPMN Modeler and now I'd like to obtain the image from this file.

Is there any tool or function I can use to do that?
Thanks,
Re: Generate an image from BPMN file using a java program. [message #1174344 is a reply to message #1173785] Wed, 06 November 2013 22:44 Go to previous messageGo to next message
Eclipse UserFriend
Yes, try right-click on the canvas and then "Export Diagram..." Smile

Cheers,
Bob
Re: Generate an image from BPMN file using a java program. [message #1174472 is a reply to message #1174344] Thu, 07 November 2013 00:44 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Robert,

I mean if it is possible do it outside of eclipse, if there is any function than I can execute into my java app.

Something like:
byte[] img = Transformation.bpmnToImage(byte[] bpmFile);


Thanks.
Re: Generate an image from BPMN file using a java program. [message #1178265 is a reply to message #1174472] Sat, 09 November 2013 09:19 Go to previous messageGo to next message
Eclipse UserFriend
The image export functionality is provided by Graphiti, so unless you import the entire BPMN2 Modeler plug-in and all of its dependencies into your code, I don't think there's an easy solution.
Re: Generate an image from BPMN file using a java program. [message #1319796 is a reply to message #1178265] Mon, 28 April 2014 07:45 Go to previous message
Eclipse UserFriend
Hi, you can use the org.jboss.bpm.console.server.plugin.GraphViewerPlugin to generate Image form your Process in jbpm and the current state.

 byte[] getProcessImage(String processId);
Previous Topic:BPMN2 Modeler Graduation and 1.0 Release Review
Next Topic:How do I execute my BPMN2 process
Goto Forum:
  


Current Time: Mon Jul 07 14:19:07 EDT 2025

Powered by FUDForum. Page generated in 0.16537 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top