# Create a graph with two nodes
graph <- create_graph(create_nodes(nodes = c("a", "b")))
# Add an edge between those nodes and attach a relationship
graph <- add_edges(graph, from = "a", to = "b",
relationship = "to_get")
Run the code above in your browser using DataLab