Hey guys, is there a way to render just the flow s...
# prefect-community
k
Hey guys, is there a way to render just the flow schematic seen in the cloud UI on a local machine?
j
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
Is
flow.visualize()
something that I can call in a python shell?
j
Yes it is! Call it on your flow object
k
oh nice, thanks for your help 🙂
m
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.