dash-cytoscape
A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around Cytoscape.js
What it is and what it does
Dash Cytoscape is a Python component library that brings Cytoscape.js—a mature JavaScript graph visualization library—into Dash applications. It lets you define networks as Python data structures (nodes and edges) and render them as interactive, styled visualizations in web dashboards. You specify elements as dictionaries, choose layout algorithms, and apply stylesheets to control appearance; the component handles rendering and user interactions like node selection and panning.
The package targets data scientists, researchers, and developers building dashboards that need to explore relationships, dependencies, or network structures. It supports preset and external layouts, event callbacks for interactivity, and image export. However, the package has been dormant for over two years, meaning no active development, bug fixes, or compatibility updates are expected. This makes it suitable for stable, non-critical use cases but risky for projects requiring ongoing support or frequent Dash version upgrades.
Use it for:
- Visualize knowledge graphs or ontologies where nodes represent concepts and edges show relationships.
- Display social networks, collaboration graphs, or organizational hierarchies interactively.
- Explore biological networks (protein interactions, metabolic pathways) in research dashboards.
- Analyze dependency trees in software projects or build systems.
- Create phylogeny trees or evolutionary relationship visualizations for scientific communication.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Dash Cytoscape wraps Cytoscape.js to let you build interactive network graphs and visualizations in Python Dash applications.
Yes, with conditions. The package is stable and permissively licensed, but its dormant status (760 days since last release) means no active maintenance. Install it if you need network visualization in Dash and can tolerate a frozen feature set and potential compatibility drift with future Dash versions. Avoid it for mission-critical applications requiring ongoing support or frequent dependency updates.
Install
dash-cytoscape on PyPI
pip
pip install dash-cytoscapeuv
uv add dash-cytoscapepoetry
poetry add dash-cytoscapeInstalling dash-cytoscape
Before you install
High install friction reported. Package is dormant—last release was 760 days ago—so expect no active maintenance or bug fixes. Dependency resolution may be complex; verify compatibility with your current Dash version before committing.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install dash-cytoscape
import dash
import dash_cytoscape as cyto
from dash import html
app = dash.Dash(__name__)
app.layout = html.Div([
cyto.Cytoscape(
id='cytoscape',
elements=[{'data': {'id': 'one', 'label': 'Node 1'}},
{'data': {'id': 'two', 'label': 'Node 2'}},
{'data': {'source': 'one', 'target': 'two'}}],
layout={'name': 'preset'}
)
])
if __name__ == '__main__':
app.run_server(debug=True)
Requires Dash to be installed first (pip install dash). Optional leaflet dependencies available via pip install dash-cytoscape[leaflet].
Verify before relying
- Whether the package works reliably with the latest Dash releases given its dormant maintenance status.
- Current state of the GitHub repository and whether critical issues remain unresolved.
- Performance characteristics with large graphs (node/edge count thresholds).
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 760 days since the last release |
| First released | |
| Downloads | 363,258/month — #7,225 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dash_cytoscape-1.0.2.tar.gz
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
dash-svgProvides SVG component primitives (Svg, G,…
permissive · top 15,000 on PyPI
dash-tableProvides an interactive DataTable component for…
permissive · top 5,000 on PyPI
dashDash is a Python framework for building…
permissive · top 5,000 on PyPI
dash-authAdds HTTP Basic Authentication and OpenID…
permissive · top 15,000 on PyPI
dash-daqProvides interactive data acquisition and…
permissive · top 15,000 on PyPI
dash-iconifyDash Iconify is a Dash component library that…
permissive · top 15,000 on PyPI
dash-ag-gridDash AG Grid wraps the AG Grid JavaScript…
permissive · top 5,000 on PyPI
dash-extensionsDash-extensions adds utility functions, custom…
permissive · top 5,000 on PyPI
dash-bootstrap-templatesProvides Bootstrap-themed Plotly figure…
permissive · top 15,000 on PyPI
dash-bootstrap-componentsProvides Bootstrap v5 components for Plotly…
permissive · top 5,000 on PyPI