/// <inheritdoc /> protected override Edge AddEdge(TEdge edge) { if (edge == null) { throw new ArgumentNullException(nameof(edge)); } return(MsaglGraph.AddEdge( _verticesIds[edge.Source], _verticesIds[edge.Target])); }
/// <inheritdoc /> protected override Edge AddEdge(TEdge edge) { return(MsaglGraph.AddEdge( _vertexIdentity(edge.Source), _vertexIdentity(edge.Target))); }