10-08-2020 05:04 PM
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.
10-09-2020 01:47 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.