Open nbar10 opened 11 months ago
Try: https://github.com/bubkoo/html-to-image
react flow uses this library to output the image. On their demo page you can see how they have to calculate the position and zoom before downloading the image. You would have to replicate the example but in drawflow.
View example: https://reactflow.dev/docs/examples/misc/download-image/
Thanks, i'll look in to it.
I have looked at the previous solutions for saving the entire flow but i can't find a solution that will print every item, even if it is out of sight. The image itself looks like it might be the correct size, but it isn't complete. I have attached an image as an example. Any ideas would be much appreciated?![drawflow (1)](https://github.com/jerosoler/Drawflow/assets/110291569/f943a9b7-a4e9-4731-a4ad-8efef4acc1ec)