Graphs By Developers, For Developers

We're with you every step of the way

Install

> npm install neo4j-driver@1.0.2

Quickstart

var neo4j = require('neo4j-driver').v1;

var driver = neo4j.driver("bolt://your-domain.provider.graphstory.com",
                                    neo4j.auth.basic("username", "password"));
var session = driver.session();
session
  .run( "CREATE (a:Person {name:'Arthur', title:'King'})" )
  .then( function()
  {
    return session.run( "MATCH (a:Person) WHERE a.name = 'Arthur' RETURN a.name AS name, a.title AS title" )
  })
  .then( function( result ) {
    console.log( result.records[0].get("title") + " " + result.records[0].get("name") );
    session.close();
    driver.close();
  });

Install

> pip install neo4j-driver

Quickstart

from neo4j.v1 import GraphDatabase, basic_auth

driver = GraphDatabase.driver("bolt://your-domain.provider.graphstory.com",
                                auth=basic_auth("username", "password"))
session = driver.session()
session.run("CREATE (a:Person {name:'Bob'})")
result = session.run("MATCH (a:Person) RETURN a.name AS name")
for record in result:
    print(record["name"])
result.close()
session.close()

Install

> gem install 'neography'

Quickstart

require 'rubygems'
require 'neography'

neo = Neography::Rest.new("http://username:password@your-domain.provider.graphstory.com:7473")
neo.execute_query("MATCH (person:Person) RETURN person LIMIT 10")
node = neo.create_node("age" => 31, "name" => "Max")

Quickstart

let theo: Client = Client(baseURL: "hostname.com", user: "username", pass: "password")

// create a node
let node = Node()
let randomString: String = NSUUID().UUIDString

node.setProp("propertyKey_1", propertyValue: "propertyValue_1" + randomString)
node.setProp("propertyKey_2", propertyValue: "propertyValue_2" + randomString)

theo.createNode(node, completionBlock: {(node, error) in
    print("new node \(node)")
});

Install

> composer require graphaware/neo4j-php-client:^4.0

Quickstart

require_once "vendor/autoload.php";

use GraphAware\Neo4j\Client\ClientBuilder;

$client = ClientBuilder::create()
    ->addConnection("bolt", "bolt://username:password@your-domain.provider.graphstory.com:7687")
    ->build();
$query = "MATCH (n:Person)-[:FOLLOWS]->(friend) RETURN n.name, collect(friend) as friends";
$result = $client->run($query);

foreach ($result->getRecords() as $record) {
    echo sprintf(
        "Person name is : %s and has %d number of friends",
        $record->value('name'),
        count($record->value('friends'))
    );
}

Install

PM> Install-Package Neo4j.Driver -Pre

Quickstart

using(var driver = GraphDatabase.Driver( "bolt://localhost:7687", AuthTokens.Basic("username", "password") ))
using(var session = driver.Session())
{
    var result = session.Run("CREATE (n) RETURN n");
}

Install

<dependencies>
    <dependency>
        <groupId>org.neo4j.driver</groupId>
        <artifactId>neo4j-java-driver</artifactId>
        <version>x.y.z</version>
    </dependency>
</dependencies>
            

Quickstart

Driver driver = ( "bolt://your-domain.provider.graphstory.com", AuthTokens.basic( "username", "password" ) );
Session session = driver.session();
StatementResult rs = session.run( "CREATE (n) RETURN n" );
session.close();
driver.close();

Real, human support by our development team

Graph Story support is handled by the people who built the platform and use graphs every day. We're here to answer any questions you have, and help you be successful in building your graph-powered application. We have the best support team in the industry.

Clouds all the way down. Take your pick

We can deploy where your servers already live: AWS, Azure, or Google Compute Engine, in any region. Need a special setup with private networks or IP-restricted access? Just let us know. We're flexible like that.

We monitor your instances – unless you'd rather do it

We watch for resource spikes or downtime on your instances, and proactively reach-out if there are issues. If you'd rather keep an eye on it yourself, we can easily send data to your New Relic or Logentries account. Need a different integration? Talk to us and we'll make it happen.

If you don't see it, just ask. We will make it happen

You