react-sigma
Advanced tools
Comparing version 1.2.27 to 1.2.28
@@ -111,4 +111,5 @@ import React from 'react'; | ||
timeout: require('prop-types').number, | ||
sigma: typeof sigma === 'function' ? require('prop-types').instanceOf(sigma) : require('prop-types').any | ||
sigma: typeof sigma === 'function' ? require('prop-types').instanceOf(sigma) : require('prop-types').any, | ||
children: require('prop-types').any | ||
}; | ||
export default ForceAtlas2; |
@@ -7,2 +7,5 @@ import React from 'react'; | ||
; | ||
/** | ||
@@ -76,3 +79,3 @@ | ||
query: require('prop-types').string.isRequired, | ||
producers: typeof NeoGraphItemsProducers === 'function' ? require('prop-types').instanceOf(NeoGraphItemsProducers).isRequired : require('prop-types').any.isRequired, | ||
producers: typeof ProducersInterface === 'function' ? require('prop-types').instanceOf(ProducersInterface).isRequired : require('prop-types').any.isRequired, | ||
onGraphLoaded: require('prop-types').func, | ||
@@ -79,0 +82,0 @@ children: require('prop-types').any, |
@@ -149,4 +149,5 @@ 'use strict'; | ||
timeout: require('prop-types').number, | ||
sigma: typeof sigma === 'function' ? require('prop-types').instanceOf(sigma) : require('prop-types').any | ||
sigma: typeof sigma === 'function' ? require('prop-types').instanceOf(sigma) : require('prop-types').any, | ||
children: require('prop-types').any | ||
}; | ||
exports.default = ForceAtlas2; |
@@ -31,2 +31,4 @@ 'use strict'; | ||
; | ||
/** | ||
@@ -113,3 +115,3 @@ | ||
query: require('prop-types').string.isRequired, | ||
producers: typeof _NeoGraphItemsProducers2.default === 'function' ? require('prop-types').instanceOf(_NeoGraphItemsProducers2.default).isRequired : require('prop-types').any.isRequired, | ||
producers: typeof ProducersInterface === 'function' ? require('prop-types').instanceOf(ProducersInterface).isRequired : require('prop-types').any.isRequired, | ||
onGraphLoaded: require('prop-types').func, | ||
@@ -116,0 +118,0 @@ children: require('prop-types').any, |
@@ -5,3 +5,3 @@ { | ||
"author": "Maxim Vorobjov <maxim.vorobjov@gmail.com>", | ||
"version": "1.2.27", | ||
"version": "1.2.28", | ||
"license": "MIT", | ||
@@ -56,6 +56,6 @@ "bugs": "https://github.com/dunnock/react-sigma/issues", | ||
"@storybook/addon-info": "^3.0.0", | ||
"@storybook/addon-knobs": "3.0.0", | ||
"@storybook/addon-options": "3.0.0", | ||
"@storybook/addons": "3.0.0", | ||
"@storybook/react": "3.0.0", | ||
"@storybook/addon-knobs": "^3.0.0", | ||
"@storybook/addon-options": "^3.2.13", | ||
"@storybook/addons": "^3.2.13", | ||
"@storybook/react": "^3.0.0", | ||
"babel-cli": "^6.23.0", | ||
@@ -66,3 +66,3 @@ "babel-core": "6.23.1", | ||
"babel-loader": "^6.3.2", | ||
"babel-plugin-flow-react-proptypes": "^3.4.3", | ||
"babel-plugin-flow-react-proptypes": "^6.1.0", | ||
"babel-plugin-transform-class-properties": "^6.23.0", | ||
@@ -110,3 +110,3 @@ "babel-plugin-transform-export-extensions": "^6.22.0", | ||
"script-loader": "^0.7.0", | ||
"sigma-react": "^1.2.7", | ||
"sigma-react": "1.2.10", | ||
"strip-ansi": "^3.0.1", | ||
@@ -113,0 +113,0 @@ "webpack": "^2.6.1", |
@@ -426,3 +426,3 @@ var Sigma = | ||
}; | ||
}).call(this); | ||
}).call(window); | ||
@@ -1567,3 +1567,3 @@ }.call(window)); | ||
} | ||
}).call(this); | ||
}).call(window); | ||
@@ -1570,0 +1570,0 @@ }.call(window)); |
@@ -473,11 +473,2 @@ var Sigma = | ||
sigma.prototype.stopNoverlap = function() { | ||
var sigInst = this; | ||
if (_instance[sigInst.id]) { | ||
_instance[sigInst.id].stop(); | ||
} | ||
}; | ||
/** | ||
@@ -484,0 +475,0 @@ * Returns true if the layout has started and is not completed. |
@@ -319,6 +319,4 @@ var Sigma = | ||
}).call(this); | ||
}).call(window); | ||
}.call(window)); | ||
@@ -325,0 +323,0 @@ |
@@ -239,3 +239,3 @@ var Sigma = | ||
}).call(this); | ||
}).call(window); | ||
@@ -487,3 +487,3 @@ }.call(window)); | ||
}).call(this); | ||
}).call(window); | ||
@@ -490,0 +490,0 @@ }.call(window)); |
@@ -637,3 +637,3 @@ var Sigma = | ||
module.exports = this.gexf; | ||
}).call(this); | ||
}).call(window); | ||
@@ -761,3 +761,3 @@ }.call(window)); | ||
}; | ||
}).call(this); | ||
}).call(window); | ||
@@ -764,0 +764,0 @@ }.call(window)); |
@@ -574,4 +574,3 @@ var Sigma = | ||
sigma.plugins.filter = function(s) { | ||
// Create new filter to update the graph params. Be aware, filter is a singleton, | ||
// therefore filter instance can work on one sigma instance at a time. | ||
// Create new filter to update the graph params | ||
filter = new Filter(s); | ||
@@ -578,0 +577,0 @@ return filter; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
4153745
67458