How to design a plugin for bpmn

I want to design a plugin for bpmn-js which can help to convert the bpmn diagram to be exported to neo4j database and represent it as nodes. I cannot figure out how to do this, can anyone help me with this?

Hi @looneyD-ROHIT,

it sounds like you want to create a graph with boxes and arrows. In this case, you should take a look at diagram-js: GitHub - bpmn-io/diagram-js: A toolbox for displaying and modifying diagrams on the web.

Hope this helps, Ingo