Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with fornax.Connection('sqlite:///royals.sqlite') as conn:
- query_graph = fornax.GraphHandle.create(conn)
- query_graph.add_nodes(label=[
- 'Victoria', 'Victoria of Saxe Coburg Saalfeld'
- ])
- edges = [(0, 1)]
- query_graph.add_relationships(zip(*edges))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement