public Association(Model model, string id) { _model = model; _edge = (model as IModelGraphAdapter).GetEdge(new EdgeId(id)); }
/// <summary> /// Remove the provided edge from the graph. /// </summary> /// <param name="edge">The edge to be removed from the graph</param> public void RemoveEdge(IHaymanEdge edge) { _edges.Remove(edge.Id); }