ipydagred3
ipywidgets wrapper around dagre-d3
What it is and what it does
ipydagred3 wraps the dagre-d3 graph layout engine as an interactive ipywidgets component for Jupyter notebooks and JupyterLab. It lets you create, modify, and visualize directed acyclic graphs directly from Python code, with support for customizing node colors, shapes, and tooltips. The widget emits click events when users interact with nodes or edges, making it suitable for building interactive graph inspection tools and exploratory workflows within notebooks.
The package is designed for developers working in Jupyter environments who need to visualize DAG structures—such as workflow dependencies, computational graphs, or data lineage—without leaving the notebook. It requires only ipykernel and ipywidgets, both standard Jupyter dependencies, and supports Python 3.8 through 3.12.
Use it for:
- Visualizing workflow or task dependency graphs in a notebook for debugging or documentation
- Building interactive node inspectors that respond to clicks on graph elements
- Exploring data lineage or computational DAGs with dynamic node and edge styling
- Prototyping graph-based applications where users need to see and interact with DAG structure
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
ipydagred3 is an ipywidgets library for rendering and interacting with directed acyclic graphs in JupyterLab, built on dagre-d3 for layout and visualization.
Yes, if you work in JupyterLab and need to visualize or interact with DAGs. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and carries a permissive Apache License Version 2.0. The last release was 2023-10-31 but recent commit activity on 2026-08-01 indicates ongoing maintenance; verify compatibility with your JupyterLab version before production use.
Install
ipydagred3 on PyPI
pip
pip install ipydagred3uv
uv add ipydagred3poetry
poetry add ipydagred3Installing ipydagred3
Before you install
Installation is straightforward via pip with low friction. The package is actively maintained as of 2026-08-01, with recent commit history and no archived status. It depends only on ipykernel and ipywidgets, both stable Jupyter ecosystem libraries.
License in practice
Licensed under Apache License Version 2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects as long as license and copyright notices are retained.
Quickstart
pip install ipydagred3
from ipydagred3 import Graph
graph = Graph()
graph.add_node('node1', label='Task 1')
graph.add_node('node2', label='Task 2')
graph.add_edge('node1', 'node2')
graph
Verify before relying
- Whether the package works with the latest JupyterLab versions beyond what the classifiers indicate
- Performance characteristics when rendering large or complex DAGs
- Stability of click event handling and tooltip features in production use
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — ipykernel, ipywidgets |
| Maintenance | actively maintained — 1,018 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 423,990/month — #6,767 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ipydagred3-0.4.1-py3-none-any.whl
Keywords: DAG, Data, Graph, IPython, Jupyter, JupyterLab, Widgets
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
adagioAdagio provides a directed acyclic graph (DAG)…
permissive · top 5,000 on PyPI
ipytreeipytree provides a tree-structure widget for…
permissive · top 15,000 on PyPI
asciidagRenders directed acyclic graphs as ASCII art in…
copyleft · top 15,000 on PyPI
ipydatawidgetsipydatawidgets provides Jupyter widgets for…
permissive · top 15,000 on PyPI
jupyterlab-widgetsEnables Jupyter/IPython widgets to render and…
permissive · top 1,000 on PyPI
DAWG2-PythonRead-only access to DAWG (directed acyclic word…
permissive · top 15,000 on PyPI
DAWG-PythonReads DAWG (Directed Acyclic Word Graph) files…
permissive · top 15,000 on PyPI
ipysigmaA Jupyter widget that renders interactive…
permissive · top 15,000 on PyPI
jupyter_bokehRenders Bokeh visualizations directly within…
permissive · top 15,000 on PyPI
pythreejsPythreejs bridges Python and Three.js to render…
permissive · top 15,000 on PyPI