JBoss Community

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

created by jeffery jeffery in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community