Activiti diagram generated through DefaultProcessDiagramGenerator has some text truncated

cancel
Showing results for 
Search instead for 
Did you mean: 
jaguar2010
Member II

Activiti diagram generated through DefaultProcessDiagramGenerator has some text truncated

We have a lot of BPMN diagrams for which we generate the image through class DefaultProcessDiagramGenerator. For most of the BPMN digrams, the text in the service/task blocks shows up truncated which makes it hard to figure out what it is actually doing. Is there a way to get this text fully displayed? Sample attached.

Screen Shot 2020-10-08 at 4.57.23 PM.png

1 Reply
abbask01
Senior Member

Re: Activiti diagram generated through DefaultProcessDiagramGenerator has some text truncated

provide a scale factor on initializing the DefaultProcessDiagramGenerator. begin with "0.2" this will result in all contruct being 2x in size.

final ProcessDiagramGenerator diagramGenerator = new DefaultProcessDiagramGenerator(0.2); // init with a scale factor

Hope it helps.

Regards,
Abbas