Activiti diagram generated through DefaultProcessDiagramGenerator has some text truncated

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Labels:
- Labels:
-
Alfresco Process Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards,
Abbas
Abbas
