Skip to content

(DRAFT) Add graphviz and ipycytoscape plus their tests for Dask graph visualization - #62

Draft
eshntmshra wants to merge 1 commit into
EarthScope:mainfrom
eshntmshra:feat/add-graphviz-ipycytoscape
Draft

(DRAFT) Add graphviz and ipycytoscape plus their tests for Dask graph visualization #62
eshntmshra wants to merge 1 commit into
EarthScope:mainfrom
eshntmshra:feat/add-graphviz-ipycytoscape

Conversation

@eshntmshra

Copy link
Copy Markdown
Contributor

Adds the two Dask graph-visualization engines to the geolab-base image so that dask task-graph visualization (.visualize()) works out of the box. Neither was installed before, so .visualize() failed with "No visualization engine detected, please install graphviz or ipycytoscape."

Packages added (environment.yml):

  • python-graphviz: renders a static task-graph image (Visualization group)
  • ipycytoscape: renders an interactive in-notebook task-graph widget (Interactive widgets group)

Tests added (test_packages.py and test_notebook.ipynb):

  • test_graphviz: render a Dask task graph to a PNG.
  • test_ipycytoscape: render a Dask task graph and confirm it returns a CytoscapeWidget

Since both packages do not exist in the environment currently, installed both packages into the environment and confirmed that all tests path in both test_packages.py and test_notebook.ipynb.

@eshntmshra eshntmshra changed the title (DRAFT) Add graphviz and ipycytoscape and their tests for Dask graph visualization (DRAFT) Add graphviz and ipycytoscape plus their tests for Dask graph visualization Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant