svelvet

v10.0.2

Importing & Exporting Diagrams

Svelvet allows you to download a snapshot of your diagram as a JSON file that can be shared with others! This feature is optional and must be passed down as a prop shareable to your Svelvet application. To access this feature, click the download button in the bottom left of the diagram. This will download a JSON file that can be shared with any developer using Svelvet! After receiving the JSON file, simply open it and copy paste the JSON string into the upload box in the bottom left of the diagram. Now just click the upload button and you should be seeing an exact replica of the diagram!

Implementing Importing & Exporting Diagrams

See the demo Svelvet diagram below to see implementation! Edit the diagram below and then click the download button in the bottom right. Once the download has been completed, refresh the page to reset the diagram. Then copy the downloaded JSON string into the upload box and click the button to see the same diagram you downloaded.