https://prefect.io logo
Title
k

kevin

09/16/2020, 4:33 PM
Hey guys, is there a way to render just the flow schematic seen in the cloud UI on a local machine?
j

josh

09/16/2020, 4:37 PM
Hi @kevin I don’t believe there is a way to just run the schematic locally at this time however you can spin up the UI locally and point it at your API (either server if you are using it or cloud.prefect.io). This is the full UI but if you just want the schematic experience the closest thing at this moment is calling
flow.visualize()
k

kevin

09/16/2020, 4:41 PM
Is
flow.visualize()
something that I can call in a python shell?
j

josh

09/16/2020, 4:43 PM
Yes it is! Call it on your flow object
k

kevin

09/16/2020, 4:54 PM
oh nice, thanks for your help 🙂
m

Marcus Windmark

09/17/2020, 6:54 AM
Hi, I have a related question to this but turned around. Is there a way to get the UI to visualize using the core's
flow.visualize()
? Or at least get the UI to give the nodes in the graph more space between each other? The reason is that I have a very big diagram that graphviz handles better than the UI's schematic view.