Package Exports
- sigma
- sigma/build/sigma.min.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sigma) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Sigma v2
Sigma is a JavaScript library dedicated to graph drawing, mainly developed by @jacomyal and @Yomguithereal.
Overview
sigmajs.org website provides a global overview of sigma.js v1.
As of version v2
, sigma
focuses on the management of graph display: layout, rendering, interaction... The graph model is managed in a separate library called graphology
, which is packed with convenience methods to manage graph data structures.
A set of demo examples contain various use-cases that might help you understand how to use sigma v2 (read further below).
Status
Sigma.js v2 is a major refactoring and is currently in version alpha. The stable version is v1.2.x
. Although not yet finalized and official, v2 is already in use in production in some organizations.
Installation
Sigma is a javascript library, it is available in npm
package manager.
npm install sigma
Examples
A development server can be spawned locally to view the examples. Visit localhost:8000
after executing the following commands:
npm install
npm run examples
You can play around with the files in directory examples
, the web pages are live-reloaded whenever the code gets changed.
Contributing
You can contribute by submitting issues tickets and proposing pull requests. Make sure that tests and linting pass before submitting any pull request.