Digraphs icon indicating copy to clipboard operation
Digraphs copied to clipboard

Should `DigraphRemoveEdge{s}` and `DigraphRemoveVertex/ices` should give an error when asked to remove edges/vertices that don't exist?

Open wilfwilson opened this issue 5 months ago • 0 comments

This question was raised in #260, specifically in @saffronmciver's comment https://github.com/digraphs/Digraphs/issues/260#issuecomment-2622143901.

What does everyone think? I think that either

Whatever we choose, we should be consistent, and make sure that the behaviour of all analogous functions is either consistent in giving an error, or consistent about either returning the original digraph unchanged, or returning a new equal digraph.

wilfwilson avatar Oct 01 '25 14:10 wilfwilson