react-force-graph-2d
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -5,5 +5,5 @@ 'use strict'; | ||
var PropTypes = _interopDefault(require('prop-types')); | ||
var fromKapsule = _interopDefault(require('react-kapsule')); | ||
var ForceGraph2DKapsule = _interopDefault(require('force-graph')); | ||
var PropTypes = _interopDefault(require('prop-types')); | ||
@@ -87,4 +87,4 @@ const commonPropTypes = { | ||
const ForceGraph2D = fromKapsule(ForceGraph2DKapsule, undefined, ['d3Force', 'stopAnimation', 'centerAt', 'zoom'] // bind methods | ||
); | ||
const ForceGraph2D = fromKapsule(ForceGraph2DKapsule, undefined, [// bind methods | ||
'd3Force', 'stopAnimation', 'pauseAnimation', 'resumeAnimation', 'centerAt', 'zoom']); | ||
ForceGraph2D.displayName = 'ForceGraph2D'; | ||
@@ -91,0 +91,0 @@ ForceGraph2D.propTypes = ForceGraph2DPropTypes; |
@@ -1,4 +0,4 @@ | ||
import PropTypes from 'prop-types'; | ||
import fromKapsule from 'react-kapsule'; | ||
import ForceGraph2DKapsule from 'force-graph'; | ||
import PropTypes from 'prop-types'; | ||
@@ -82,4 +82,4 @@ const commonPropTypes = { | ||
const ForceGraph2D = fromKapsule(ForceGraph2DKapsule, undefined, ['d3Force', 'stopAnimation', 'centerAt', 'zoom'] // bind methods | ||
); | ||
const ForceGraph2D = fromKapsule(ForceGraph2DKapsule, undefined, [// bind methods | ||
'd3Force', 'stopAnimation', 'pauseAnimation', 'resumeAnimation', 'centerAt', 'zoom']); | ||
ForceGraph2D.displayName = 'ForceGraph2D'; | ||
@@ -86,0 +86,0 @@ ForceGraph2D.propTypes = ForceGraph2DPropTypes; |
@@ -8,3 +8,10 @@ import fromKapsule from 'react-kapsule'; | ||
undefined, | ||
['d3Force', 'stopAnimation', 'centerAt', 'zoom'] // bind methods | ||
[ // bind methods | ||
'd3Force', | ||
'stopAnimation', | ||
'pauseAnimation', | ||
'resumeAnimation', | ||
'centerAt', | ||
'zoom' | ||
] | ||
); | ||
@@ -11,0 +18,0 @@ |
{ | ||
"name": "react-force-graph-2d", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "React component for 2D force directed graphs", | ||
@@ -35,3 +35,3 @@ "unpkg": "dist/react-force-graph-2d.min.js", | ||
"dependencies": { | ||
"force-graph": "^1.10.0", | ||
"force-graph": "^1.11.0", | ||
"prop-types": "^15.6.2", | ||
@@ -45,5 +45,5 @@ "react-kapsule": "^1.4.1" | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.66.6", | ||
"rollup": "^0.67.3", | ||
"uglify-es": "^3.3.9" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
1237187
9291
Updatedforce-graph@^1.11.0