bpmn-io / bpmn-to-image

Convert BPMN 2.0 diagrams to PDF documents or PNG files.
59 stars 37 forks source link

Data Inputs and Data Outputs are not being rendered #17

Open SimonHe77wer opened 4 years ago

SimonHe77wer commented 4 years ago

I trie to create png from a bpmn file (created with eclipse bpmn modeler). The bpmn can be modeled with a single activity and a data object as input. After creating a png with bpmn-to-image myBPMN:myBPMN.png the png does not show the data object. When modeling a data object reference this reference shows in the final png, but not the data object itself.

Regards Simon


Depends on https://github.com/bpmn-io/bpmn-js/issues/951

nikku commented 4 years ago

Could you share a screenshot of your modeled diagram as well as the resulting BPMN file? That helps us to look into the issue.

SimonHe77wer commented 4 years ago

image

`<?xml version="1.0" encoding="UTF-8"?>

Task_1 Task_2 StartEvent_1 EndEvent_1 SequenceFlow_2 SequenceFlow_1 DataInput_1 DataInput_4 DataObject_2 DataInput_1 SequenceFlow_1 SequenceFlow_3 DataInput_2 DataObjectReference_2 DataInput_2 SequenceFlow_2 SequenceFlow_3 `
nikku commented 4 years ago

So the issue is that the Data Object is part of an IO specification.

Rendering IO Specification is, unfortunately, not supported by the tool yet. Upstream issue: https://github.com/bpmn-io/bpmn-js/issues/951.

SimonHe77wer commented 4 years ago

Hi @nikku , thanks for your response. We found out that DataInput and DataOutput are rendered. This is not correct from a model perspective but works for us as intermediate solution. Looking forward to the improvement :-)

Greetings Simon

o314 commented 2 years ago

Here is another good example that's missing nowaday 5-2-2

Also consider, those annotations pipelined upto a db that indicate what comes in and out the db itself (may be not executable, but a good contrib during the modeling phase anyway) 5-3-1