Andrei-Bogdan Balcau

Results 2 comments of Andrei-Bogdan Balcau

Hi, so could you give an example on how to remove/add edges/nodes in a model step, please?

> @BogdanBalcau you can do this: > > ```python > def step(self): > self.G.add_node(node_idx) > self.G.remove_node(node_idx) > self.G.add_edge(from_idx, to_idx) > self.G.remove_edge(from_idx, to_idx) > ``` > > Where `self.G` is your...