[jboss-user] [jBPM] - [Jbpm5]how to use DiagramInfo to get the image of the processinstance

jeffery jeffery do-not-reply at jboss.com
Fri Nov 4 03:47:02 EDT 2011


jeffery jeffery [http://community.jboss.org/people/aronjiao] created the discussion

"[Jbpm5]how to use DiagramInfo to get the image of the processinstance"

To view the discussion, visit: http://community.jboss.org/message/635000#635000

--------------------------------------------------------------
Hello ,
every one!

I have a question about how to get the image of a processinstance which is executing.

I once found a java file in the core sourcecode-----the org.jbpm.integration.console.graph.GraphViewerPluginImpl

seeing into GraphViewerPluginImpl
there is a method called  public DiagramInfo getDiagramInfo(String processId)

it returns a 'DiagramInfo'  object.

in the 'DiagramInfo' object。  I saw every node's  width,length,x,y, etc.
is there any api to tranfer this 'DiagramInfo'   informations to a image file(such as .png file)
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111104/c784e623/attachment-0001.html 


More information about the jboss-user mailing list