Description Usage Arguments Value See Also Examples
Get all node labels for a given node object or for the entire graph database.
1 | getLabel(object)
|
object |
A graph or node object. |
A character vector.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)
alice = createNode(graph, "Person", name = "Alice")
bob = createNode(graph, c("Person", "Student"), name = "Bob")
getLabel(alice)
getLabel(graph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.