from raphtory import Graph
g = Graph()
g.add_edge(1,1,2)
g.add_edge(1,1,3)
g.add_edge(1,1,4)
for e in g.edges.collect():
e.add_constant_properties({"test":1}) # should through an exception when the iter is not collected
g.add_edge(1,e.src.name,e.dst.name,properties={...}) -> e.add_update(1,properties={...})
from raphtory import Graph g = Graph() g.add_edge(1,1,2) g.add_edge(1,1,3) g.add_edge(1,1,4)
for e in g.edges.collect(): e.add_constant_properties({"test":1}) # should through an exception when the iter is not collected g.add_edge(1,e.src.name,e.dst.name,properties={...}) -> e.add_update(1,properties={...})