Description Usage Arguments Value Examples
Establish a connection to Neo4j.
1 2 |
url |
A character string. The HTTP url. Optional if boltUri is specified. |
username |
A character string. If authentication is enabled, your username. |
password |
A character string. If authentication is enabled, your password. |
opts |
A named list. Optional HTTP settings. |
boltUri |
A character string. The bolt URI. Optionally enables the Bolt interface for Cypher. |
A graph object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
graph = startGraph() # http://localhost:7474/db/data/ by default
graph = startGraph("http://localhost:7474/db/data/",
username = "neo4j",
password = "password")
graph = startGraph("http://localhost:7474/db/data/",
opts = list(timeout=3))
graph = startGraph("http://localhost:7474/db/data/",
username = "neo4j",
password = "password",
boltUri = "neo4j://localhost:7687/")
graph = startGraph(character(), # only use the Bolt interface
username = "neo4j",
password = "password",
boltUri = "neo4j://localhost:7687/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.