aframe-forcegraph-component
Advanced tools
Comparing version 2.21.0 to 2.21.1
@@ -93,7 +93,2 @@ /* global AFRAME */ | ||
// Bind component methods | ||
emitParticle: function(link) { | ||
this.forceGraph && this.forceGraph.emitParticle(link); | ||
return this; | ||
}, | ||
d3Force: function() { | ||
@@ -100,0 +95,0 @@ if (!this.forceGraph) { |
{ | ||
"name": "aframe-forcegraph-component", | ||
"version": "2.21.0", | ||
"version": "2.21.1", | ||
"description": "A 3D Force-Directed Graph component for A-Frame.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -80,3 +80,2 @@ ## aframe-forcegraph-component | ||
| --- | --- | --- | | ||
| emitParticle | link: <i>object</i> | An alternative mechanism for generating particles, this method emits a non-cyclical single particle within a specific link. The emitted particle shares the styling (speed, width, color) of the regular particle props. A valid `link` object that is included in `graphData` should be passed as a single parameter. | | ||
| d3Force | id: <i>string</i>, [force: <i>function</i>] | Getter/setter for the internal forces that control the d3 simulation engine. Follows the same interface as `d3-force-3d`'s [simulation.force](https://github.com/vasturiano/d3-force-3d#simulation_force). Three forces are included by default: `'link'` (based on [forceLink](https://github.com/vasturiano/d3-force-3d#forceLink)), `'charge'` (based on [forceManyBody](https://github.com/vasturiano/d3-force-3d#forceManyBody)) and `'center'` (based on [forceCenter](https://github.com/vasturiano/d3-force-3d#forceCenter)). Each of these forces can be reconfigured, or new forces can be added to the system. This method is only applicable if using the d3 simulation engine. | | ||
@@ -83,0 +82,0 @@ | d3ReheatSimulation | - | Reheats the force simulation engine, by setting the `alpha` value to `1`. Only applicable if using the d3 simulation engine. | |
Sorry, the diff of this file is too big to display
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
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
1641398
14039
131