I am trying to render a BPMN component without any interactive parts that let’s you compose flow elements on the screen. It should only render static data on the below codesandbox -
Also I am trying to find if the nodeBadges can have hardcoded colors is it possible to do so?
but for some reason i don’t see the diagram where am I going wrong?
Update - I do got it working but i had to fetch the diagram inside the useEffect
I have two requirements now -
For the static BPMN viewer -
is there any way that i can pass a string to my state bpmnXml from the parent and the diagrams get loaded
Create dynamic diagrams as well such that i can add nodes(badges) to the shapes such that it can be marked with different colours.
like green 1 and. blue 1 in the above image
I just want to know the feasibility of the above.