Examples

Here is a list of different examples of how to use sigma.js.

Load and display a GEXF encoded graph

An example showing how to use the sigma.parseGexf.js plugin.

ForceAtlas2 on a random graph

An example showing how to use the sigma.forceatlas2.js plugin, on a random graph.

Parse graph data / use custom events

An example showing how to parse the graph data dynamically.

Hide nodes

An example showing how use the node hidden property.

How to write a plugin (basics)

An example showing how to write a basic layout plugin for sigma.js.

How to write a plugin (advanced)

An example showing how to write a FishEye plugin for sigma.js.

Accessing node attributes

An example showing how to parse nodes attributes.