cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti diagram generated through DefaultProcessDiagramGenerator has some text truncated

jaguar2010
Champ in-the-making
Champ in-the-making

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.

image

1 REPLY 1

abbask01
Star Collaborator
Star Collaborator

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