Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting diagram to XML #46

Open
nraffa-five1 opened this issue Apr 11, 2024 · 9 comments
Open

Exporting diagram to XML #46

nraffa-five1 opened this issue Apr 11, 2024 · 9 comments

Comments

@nraffa-five1
Copy link

Hi! Awesome library! Thank you for the contribution. I wanted to know if you were thinking of adding an XML export / import to the library. Thank you!

@csgoh
Copy link
Owner

csgoh commented Apr 11, 2024

Hi, do you mean BPEL?

@nraffa-five1
Copy link
Author

yes!

@vetertann
Copy link

vetertann commented May 29, 2024

Same question, but BPMN 2.0 ! Would be awesome addition.

@csgoh
Copy link
Owner

csgoh commented Jun 2, 2024

@nraffa-five1 @vetertann Thanks for providing feedback. I try to understand your use cases better. Why do you need to export the diagram to BPEL? Do you mind to share your use cases?

@nraffa-five1
Copy link
Author

nraffa-five1 commented Jun 2, 2024

Hi @csgoh, thank you for replying! My use case is that I need to export the BPMN 2.0 Diagram so that my user can edit it if he doesn't like it. This is because at first the diagram gets automatically generated but I would like to offer the possibility of export. A PNG picture file wouldn't help much as they can't edit that, that is why I need the generation of XML code for the BPMN 2.0 Diagram. Thank you!

@vetertann
Copy link

@csgoh same as above, first I pass a simple DAG and create BPMN model, then I need user to further work with the model, add gates and/or rename something ,some details that were not in the initial design. Your library nails layout with lanes, which is great.

@csgoh
Copy link
Owner

csgoh commented Jun 3, 2024

@nraffa-five1 @vetertann It sounds like you guys want to export to the BPMN XML specification, not BPEL. They have completely different file formats and serve different purposes. Let me find some time to add the functionality. 😄

@nraffa-five1
Copy link
Author

That would be awesome! Let me know if I can support you in any way! I would love to understand how does that mapping happen under the hood.

@vetertann
Copy link

Same here, and that would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants