You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
If you are using Hamilton in a jupyter notebook, we should enable creating a visualization easily when you request a DAG visualized.
Describe the solution you'd like
In simplest terms, doing something like dask does for visualizing its DAGs in a notebook would be sweet.
Requirements:
Able to display in a notebook.
Able to handle really large graphs -- or some way to help people wrangle them to display.
e.g.
dr=driver.Driver(...)
dr.visualize_execution(...)
# this creates an image that is displayed
Thought - the solution here might be as simple as returning the graphviz object...
Perhaps having a default print out of a driver object could also be useful?
dr=driver.Driver(...)
dr# this prints out some information about the DAG created -- perhaps even a rough visualization, much like dask does?
Describe alternatives you've considered
You save the image, and then load it -- I don't believe this will be the best experience though:
fromIPython.displayimportImage
...
dr.visualize_execution(..., 'my_dag.png', ...)
...
Image('my_dag.png')
# this would then display
Is your feature request related to a problem? Please describe.
If you are using Hamilton in a jupyter notebook, we should enable creating a visualization easily when you request a DAG visualized.
Describe the solution you'd like
In simplest terms, doing something like
dask
does for visualizing its DAGs in a notebook would be sweet.Requirements:
e.g.
Thought - the solution here might be as simple as returning the graphviz object...
Perhaps having a default print out of a driver object could also be useful?
Describe alternatives you've considered
You save the image, and then load it -- I don't believe this will be the best experience though:
Additional context
For ideas/inspiration:
The text was updated successfully, but these errors were encountered: