AnsweredAssumed Answered

Ugly generated instance diagram

Question asked by sherlockq on Mar 30, 2012
Latest reply on Apr 1, 2012 by trademak
On activiti 5.8 and 5.6, the generated instance diagram's layout is different from process definition diagram generated by eclipse editor, and it's rather ugly. The font issue is known can be solved, I just mean those transition lines.

Here is codes to generate instance diagram

   ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) processEngine
            .getRepositoryService()).getDeployedProcessDefinition(pi
            .getProcessDefinitionId());
      InputStream iStream = ProcessDiagramGenerator.generateDiagram(
            (ProcessDefinitionEntity) pde, "png",
            runtimeService.getActiveActivityIds(pi.getId()));


Attachments

Outcomes