Node Labels

Description

Drop the specified label(s) from a node.

Usage

1
dropLabel(node, ..., all = FALSE)

Arguments

node

A node object.

...

A character vector.

all

A logical constant. If TRUE, drop all labels from the node.

See Also

addLabel, getLabel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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")

dropLabel(alice, "Person")
dropLabel(bob, all = TRUE)

alice
bob

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.