Cytoscape.js

Make sense of
connected data.

A graph theory library for modelling, analysing and visualising networks. From a few connected nodes to the structure behind your data.

Explore the current preview. Port an existing application.

A toolkit for networks

Work with the graph.
See the bigger picture.

01 / MODEL

Start with your data

Represent nodes, edges and their attributes. Load a graph, query its structure and update it as your application changes.

Loading and data
02 / ANALYSE

Follow the connections

Traverse neighbourhoods, find paths and examine graph structure. Use the headless entry for analysis without a renderer.

Collections and algorithms
03 / VISUALISE

Give structure a shape

Bring networks into the browser with layouts, data-driven styling and interaction. Connect the graph to your application's interface.

Styling the graph

The API reference

The guide and the details,
in one place.

Start with the concepts, then go straight to a method. Find practical examples, parameter descriptions and return values beside each function.

Explore the documentation