/// <summary> /// Asynchronous remove of edge (or arc) by the referense /// </summary> /// <param name="edge"></param> /// <returns></returns> public async Task <Graph <T> > RemoveAsync(IEdge <T> edge) { edge.Disconnect(); await _edges.RemoveWithLockAsync(edge, _rwEdgesLock); return(this); }
/// <summary> /// Remove edge (or arc) by the referense /// </summary> /// <param name="edge"></param> /// <returns></returns> public Graph <T> Remove(IEdge <T> edge) { edge.Disconnect(); _edges.RemoveWithLock(edge, _rwEdgesLock); return(this); }