getLabel: Node Labels

Description Usage Arguments Value See Also Examples

View source: R/getLabel.R

Description

Get all node labels for a given node object or for the entire graph database.

Usage

1
getLabel(object)

Arguments

object

A graph or node object.

Value

A character vector.

See Also

addLabel, dropLabel

Examples

 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)

RNeo4j documentation built on May 29, 2017, 4:01 p.m.

Related to getLabel in RNeo4j...