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

SWF-Editor: Export workflow to svg #1665

Open
Tracked by #1127
handreyrc opened this issue Dec 2, 2024 · 0 comments
Open
Tracked by #1127

SWF-Editor: Export workflow to svg #1665

handreyrc opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects

Comments

@handreyrc
Copy link

handreyrc commented Dec 2, 2024

Summary

The goal of this task is to add means to export the workflow to SVG.
A button should be added to the zoombar to export the workflow to SVG file.
An API should also be added to get the SVG content (string) without creating a file.

Description

React flow provide means to integrate external libs to do the job of exporting the canvas content to various formats.

  • Integrate a suitable library to export the workflow to SVG.
  • Add a button to the zoombar to export the workflow to SVG file.
  • Add an API to export the workflow to SVG content so it can be retrieved in text format.

Testing

Run the component and load a valid workflow from storybook.
Click on the button to export to SVG and check the download file.
Open the console and call the API to get the SVG content for the workflow.

@handreyrc handreyrc added area:tools Issues affecting Apache KIE tooling projects area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow labels Dec 2, 2024
@handreyrc handreyrc self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects
Projects
None yet
Development

No branches or pull requests

1 participant