The skeleton for this demo is taken from here and adapted to the needs of our data and demonstration.
The dataset we use is the class dependency network of JDK 1.6.0.7 framework downloaded from the KOBLENZ data repository. The data set contains a big number of nodes and edges, thus we select only a small subset of nodes in order to being able to render them here.
The layout is used to specify how the nodes are positioned in the viewport.
Maybe you have to refresh several times to get a nice ordering of the graph. Click on the Redo button below.
Cytoscape.js can analyze data with a variety of graph theory algorithms, including Breadth-First Search and Depth-First Search.