Pometry / Raphtory

Scalable graph analytics database powered by a multithreaded, vectorized temporal engine, written in Rust
https://raphtory.com
GNU General Public License v3.0
337 stars 54 forks source link

Mutating the graph while iterating over vertices or edges deadlocks #1219

Open ljeub-pometry opened 1 year ago

miratepuffin commented 6 months ago

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={...})