Our team wants to build a graphical editor for administrative work processes (workflows or the like).
We have yet chosen between BPMN.js and ReactFlow for graphical editing in the Web, because it should be a Web-accessible UI.
Our workflow server engine uses an XAML-based workflow XML file format. Therefore, the important question is, how easy or hard would it be to export and import graphs using XAML?
There is a tutorial page from ReactFlow which however only shows how to store the graph as a classical graph datastructure in JSON format into localStorage. This however is far from getting an XAML. And there seems to be no official support for anything else than their internal format. At least, there isn't easily anything else to be found.
BPMN.js exports XML and has been the first choice because it was thought, the format could be more easily translated to the XAML one (I have no idea where that idea came from). But it also saves mostly syntax rather than semantic markup.
Maybe, somebody here had to work with graph editing web libraries and XAML before? Would it be a good idea to use BPMN.js or ReactFlow concerning the complexity of interpreting and saving the exported format?
Are there better options?