from py2neo import Graph,Node,Relationship



from queue    import * 

a = Node('Person', name='Alice')
b = Node('Person', name='Bob')
r = Relationship(a, 'KNOWS', b)
print(a, b, r)



test_graph = Graph(
    "http://localhost:7474", 
    username="neo4j", 
    password="neo4j"
)
test_node_1 = Node(label = "Person",name = "test_node_1")
test_node_2 = Node(label = "Person",name = "test_node_2")
test_graph.create(test_node_1)
test_graph.create(test_node_2)

3273fb7903731769ab92b47a9ad53c70c2b4923a
<mask token>

<mask token>
print(a, b, r)
<mask token>
test_graph.create(test_node_1)
test_graph.create(test_node_2)

<mask token>
a = Node('Person', name='Alice')
b = Node('Person', name='Bob')
r = Relationship(a, 'KNOWS', b)
print(a, b, r)
test_graph = Graph('http://localhost:7474', username='neo4j', password='neo4j')
test_node_1 = Node(label='Person', name='test_node_1')
test_node_2 = Node(label='Person', name='test_node_2')
test_graph.create(test_node_1)
test_graph.create(test_node_2)

from py2neo import Graph, Node, Relationship
from queue import *
a = Node('Person', name='Alice')
b = Node('Person', name='Bob')
r = Relationship(a, 'KNOWS', b)
print(a, b, r)
test_graph = Graph('http://localhost:7474', username='neo4j', password='neo4j')
test_node_1 = Node(label='Person', name='test_node_1')
test_node_2 = Node(label='Person', name='test_node_2')
test_graph.create(test_node_1)
test_graph.create(test_node_2)

from py2neo import Graph,Node,Relationship



from queue    import * 

a = Node('Person', name='Alice')
b = Node('Person', name='Bob')
r = Relationship(a, 'KNOWS', b)
print(a, b, r)



test_graph = Graph(
    "http://localhost:7474", 
    username="neo4j", 
    password="neo4j"
)
test_node_1 = Node(label = "Person",name = "test_node_1")
test_node_2 = Node(label = "Person",name = "test_node_2")
test_graph.create(test_node_1)
test_graph.create(test_node_2)
