This may be a silly question, but is there any way...
# ask-community
n
This may be a silly question, but is there any way to 'export' the visualization of a flow run to somewhere else? Basically, once a flow runs/while the flow is running i want to give someone else a peek at the visualization. but I don't want them to see the logs so I can't send them to the prefect webserver just wondering if anyone has done before or if i'll need to try it my own way 🙂 even just an easy way to export the final image one the flow has completed is a good start
n
hi @Natalie Landsberg - I don't think this is a silly question 🙂 i would like the same thing, but I'm not sure there's currently a way to do this outside of screencap @nicholas do you know if I'm missing something?
n
yup this is possible! if you right click/context click on the graph you can save it as an image like this:
n
is there an API to make that call in a script? or will i just have to use beautifulsoup or something to web scrape it
either is fine
n
no API call, that's saving the actual rendered canvas
if you're looking for the data that makes up the visualization and not the visualization itself, it's constructed primarily from an API endpoint called
/api/flow-runs/{id}/graphs-v2
n
thanks, that actually helps too!!
appreciate it, i'll probably start with just grabbing the image once the flow returns a completed state 😄
👍 1
🙌 1