Description Usage Arguments Value See Also Examples
View source: R/getUniqueNode.R
Retrieve a single node from the graph by specifying its label and unique key = value pair.
1 | getUniqueNode(graph, .label, ...)
|
graph |
A graph object. |
.label |
A character string. |
... |
A named list. A key = value pair by which the node label is uniquely constrained. |
A node object.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)
createNode(graph, "Person", name = "Alice")
createNode(graph, "Person", name = "Bob")
addConstraint(graph, "Person", "name")
getUniqueNode(graph, "Person", name = "Alice")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.