Comparing version 1.2.0 to 2.0.0-alpha1
## sigma.js - changelog: | ||
#### 1.2.0 - release (Nov 3, 2016) | ||
#### 1.2.0 - (provisional) | ||
- Added the [layout.noverlap](https://github.com/jacomyal/sigma.js/tree/master/plugins/sigma.layout.noverlap) plugin (thanks to [@apitts](https://github.com/apitts)). | ||
- Added the [renderers.edgeDot](https://github.com/jacomyal/sigma.js/tree/master/plugins/sigma.renderers.edgeDots) plugin (thanks to [@jotunacorn](https://github.com/jotunacorn)). | ||
- Fixed `sigma.require.js` so that Webpack & node.js can require the library. | ||
- Fixed camera zoom weird behavior on retina displays (thanks to [@robindemourat](https://github.com/robindemourat)). | ||
@@ -10,0 +8,0 @@ #### 1.1.0 - release (Feb 17, 2016) |
@@ -1,2 +0,2 @@ | ||
Copyright (C) 2013-2014, Alexis Jacomy, http://sigmajs.org | ||
Copyright (C) 2013-2017, Alexis Jacomy, Guillaume Plique http://sigmajs.org | ||
@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), |
{ | ||
"name": "sigma", | ||
"version": "1.2.0", | ||
"version": "2.0.0-alpha1", | ||
"description": "A JavaScript library dedicated to graph drawing.", | ||
"homepage": "http://sigmajs.org", | ||
"bugs": "http://github.com/jacomyal/sigma.js/issues", | ||
"main": "sigma.js", | ||
"scripts": { | ||
"build": "webpack --colors --progress && webpack --colors --progress -p", | ||
"clean": "rimraf $npm_package_sigma_clean", | ||
"dist": "npm run clean && babel src --out-dir . && webpack --config ./webpack.programs.config.js", | ||
"examples": "webpack-dev-server --config ./examples/webpack.config.js --port 8000 --progress", | ||
"lint": "eslint examples src test", | ||
"postpublish": "npm run clean", | ||
"prepublish": "npm run test && npm run dist && npm run build", | ||
"test": "mocha --compilers js:babel-core/register ./test/endpoint.js" | ||
}, | ||
"sigma": { | ||
"clean": "camera.js captor.js easings.js endpoint.js quadtree.js renderer.js sigma.js utils.js captors renderers" | ||
}, | ||
"repository": { | ||
@@ -11,25 +25,56 @@ "type": "git", | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Alexis Jacomy", | ||
"url": "http://github.com/jacomyal" | ||
}, | ||
{ | ||
"name": "Guillaume Plique", | ||
"url": "http://github.com/Yomguithereal" | ||
} | ||
], | ||
"license": "MIT", | ||
"main": "build/sigma.require.js", | ||
"devDependencies": { | ||
"grunt-cli": "^0.1.13", | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-qunit": "~0.5.2", | ||
"grunt-contrib-uglify": "~0.5.1", | ||
"grunt-closure-linter": "~0.1.4", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
"grunt-contrib-concat": "~0.5.0", | ||
"load-grunt-tasks": "~0.6.0", | ||
"grunt-sed": "~0.1.1", | ||
"grunt-zip": "~0.15.0", | ||
"http-server": "~0.9.0", | ||
"grunt-grunt": "^0.2.2", | ||
"uglify-js": "^2.4.15" | ||
"@yomguithereal/eslint-config": "^4.0.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.14.0", | ||
"babel-loader": "^7.0.0", | ||
"babel-preset-es2015": "^6.14.0", | ||
"chroma-js": "^1.3.3", | ||
"eslint": "^4.0.0", | ||
"faker": "^4.1.0", | ||
"graphology": "^0.10.2", | ||
"graphology-generators": "^0.6.1", | ||
"graphology-gexf": "^0.3.1", | ||
"graphology-layout": "0.0.1", | ||
"graphology-layout-forceatlas2": "0.0.1", | ||
"html-webpack-plugin": "^2.22.0", | ||
"mocha": "^3.0.2", | ||
"raw-loader": "^0.5.1", | ||
"rimraf": "^2.6.1", | ||
"webpack": "^2.5.1", | ||
"webpack-dev-server": "^2.4.5", | ||
"worker-loader": "^0.8.0" | ||
}, | ||
"scripts": { | ||
"start": "http-server -p 8000", | ||
"test": "grunt travis", | ||
"build": "grunt build", | ||
"prepublish": "grunt npmPrePublish" | ||
"keywords": [ | ||
"graph", | ||
"graphology", | ||
"renderer", | ||
"canvas", | ||
"webgl", | ||
"svg" | ||
], | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": "@yomguithereal/eslint-config/es6" | ||
}, | ||
"dependencies": { | ||
"events": "^1.1.1", | ||
"gl-matrix": "^2.3.2", | ||
"graphology-utils": "^1.1.1" | ||
} | ||
} |
@@ -1,35 +0,3 @@ | ||
[![Build Status](https://travis-ci.org/jacomyal/sigma.js.svg)](https://travis-ci.org/jacomyal/sigma.js) | ||
# Sigma v2 | ||
sigma.js - v1.2.0 | ||
================= | ||
Sigma is a JavaScript library dedicated to graph drawing, mainly developed by [@jacomyal](https://github.com/jacomyal) and [@Yomguithereal](https://github.com/Yomguithereal). | ||
### Resources | ||
[The website](http://sigmajs.org) provides a global overview of the project, and the documentation is available in the [Github Wiki](https://github.com/jacomyal/sigma.js/wiki). | ||
Also, the `plugins` and `examples` directories contain various use-cases that might help you understand how to use sigma. | ||
### How to use it | ||
To use it, clone the repository: | ||
``` | ||
git clone git@github.com:jacomyal/sigma.js.git | ||
``` | ||
To build the code: | ||
- Install [Node.js](http://nodejs.org/). | ||
- Install [gjslint](https://developers.google.com/closure/utilities/docs/linter_howto?hl=en). | ||
- Use `npm install` to install sigma development dependencies. | ||
- Use `npm run build` to minify the code with [Uglify](https://github.com/mishoo/UglifyJS). The minified file `sigma.min.js` will then be accessible in the `build/` folder. | ||
Also, you can customize the build by adding or removing files from the `coreJsFiles` array in `Gruntfile.js` before applying the grunt task. | ||
### Contributing | ||
You can contribute by submitting [issues tickets](http://github.com/jacomyal/sigma.js/issues) and proposing [pull requests](http://github.com/jacomyal/sigma.js/pulls). Make sure that tests and linting pass before submitting any pull request by running the command `grunt`. | ||
The whole source code is validated by the [Google Closure Linter](https://developers.google.com/closure/utilities/) and [JSHint](http://www.jshint.com/), and the comments are written in [JSDoc](http://en.wikipedia.org/wiki/JSDoc) (tags description is available [here](https://developers.google.com/closure/compiler/docs/js-for-compiler)). | ||
Nothing to see here... |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
0
100
1
1
570444
3
20
32
11235
1
4
+ Addedevents@^1.1.1
+ Addedgl-matrix@^2.3.2
+ Addedgraphology-utils@^1.1.1
+ Addedevents@1.1.1(transitive)
+ Addedgl-matrix@2.8.1(transitive)
+ Addedgraphology-types@0.24.8(transitive)
+ Addedgraphology-utils@1.8.0(transitive)