equal
deleted
inserted
replaced
313 ///\warning This functionality cannot be used together with the SnapShot |
313 ///\warning This functionality cannot be used together with the SnapShot |
314 ///feature. |
314 ///feature. |
315 ///\todo It could be implemented in a bit faster way. |
315 ///\todo It could be implemented in a bit faster way. |
316 Node split(Node n, bool connect = true) |
316 Node split(Node n, bool connect = true) |
317 { |
317 { |
318 for (OutEdgeIt it(*this, n); it != INVALID; ++it) { |
|
319 getNotifier(Edge()).signalChange(it); |
|
320 } |
|
321 Node b = _split(n,connect); |
318 Node b = _split(n,connect); |
322 for (OutEdgeIt it(*this, b); it != INVALID; ++it) { |
|
323 getNotifier(Edge()).commitChange(it); |
|
324 } |
|
325 return b; |
319 return b; |
326 } |
320 } |
327 |
321 |
328 |
322 |
329 ///Class to make a snapshot of the graph and to restrore to it later. |
323 ///Class to make a snapshot of the graph and to restrore to it later. |