I'm making a frontend application for study that uses bpmn-js to display diagrams and I use BPMN Editor Red Hat extension for vs code (https://github.com/kiegroup/kie-tools) as a reference. I have a .wid file in the global directory to add custom task elements. In the extension it works perfectly, but in my application I need to parse .wid content to JSON format. How can I do it? I didn't find parsers or converters like that in the source code although the extension is written in TypeScript. One of the mantainers direct me here so I hope you can help me with that. Thank you.
I'm making a frontend application for study that uses bpmn-js to display diagrams and I use BPMN Editor Red Hat extension for vs code (https://github.com/kiegroup/kie-tools) as a reference. I have a .wid file in the global directory to add custom task elements. In the extension it works perfectly, but in my application I need to parse .wid content to JSON format. How can I do it? I didn't find parsers or converters like that in the source code although the extension is written in TypeScript. One of the mantainers direct me here so I hope you can help me with that. Thank you.