14 Replies Latest reply on Feb 26, 2014 4:19 AM by gulamnadim

    [Jbpm5]how to get the image showing the current status of  a workflow

    aronjiao

      Hello ,

      every one!

       

      I have a question about how to get the image showing the current status of  a workflow .

      I find a java file in the core sourcecode------>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 UserTask Node's width,length,x,y, etc.

      is there any method to tranfer this 'DiagramInfo'   informations to a image file(such as .png file)

       

      Looking forward for your helps.

      Thank you!