hyperion-graph
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -76,3 +76,3 @@ var q = require('q'); | ||
/** | ||
* The HpyerionGraph implements time based graph model proposed by | ||
* The HyperionGraph implements time based graph model proposed by | ||
* http://www.neo4j.org/graphgist?608bf0701e3306a23e77. | ||
@@ -83,3 +83,3 @@ * | ||
*/ | ||
var HpyerionGraph = function(neo4jDb) { | ||
var HyperionGraph = function(neo4jDb) { | ||
this._db = neo4jDb; | ||
@@ -89,3 +89,3 @@ this._useTransactions = true; // TODO expose in future :) | ||
HpyerionGraph.prototype.insertNode = function(id, label, data) { | ||
HyperionGraph.prototype.insertNode = function(id, label, data) { | ||
var nodeLabel = label | ||
@@ -108,3 +108,3 @@ , stateNodeLabel = nodeLabel + 'State' | ||
HpyerionGraph.prototype.updateNode = function(id, label, data) { | ||
HyperionGraph.prototype.updateNode = function(id, label, data) { | ||
var nodeLabel = label | ||
@@ -111,0 +111,0 @@ , stateNodeLabel = nodeLabel + 'State' |
{ | ||
"name": "hyperion-graph", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A wrapper for node-neo4j for keeping a history of graph changes.", | ||
@@ -22,5 +22,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"node-neo4j": "^2.0.3", | ||
"q": "^1.1.2" | ||
}, | ||
"peerDependencies": { | ||
"node-neo4j": "^2.0.3" | ||
} | ||
} |
# hyperion-graph | ||
[![npm version](https://badge.fury.io/js/hyperion-graph.svg)](http://badge.fury.io/js/hyperion-graph) | ||
@@ -18,3 +19,3 @@ `hyperion-graph` is a wrapper around [`node-neo4j`](https://github.com/philippkueng/node-neo4j) and allows to create and modify history aware, time based [`Neo4j`](http://neo4j.com/) graphs as described in http://www.neo4j.org/graphgist?608bf0701e3306a23e77. | ||
, adapter = new Hyperion(db); | ||
adapter.insertNode(1701, 'Spaceship', { | ||
@@ -40,2 +41,2 @@ brand: 'Starfleet' | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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
7155
41
- Removednode-neo4j@^2.0.3