Relationships¶
Relationships connect nodes in the graph and represent connections between entities.
This page is under development. Full documentation coming soon.
Creating Relationships¶
# Create relationship between nodes
friendship = graph.create_relationship(
alice, # source node
'KNOWS', # relationship type
bob, # target node
{ # properties (optional)
'since': '2020-01-15',
'strength': 0.9
}
)
Next Steps¶
- Learn about Nodes
- Understand Properties
- Explore Cypher Queries