Starting to fix #37
Hi there :wave:
I tried to code a first version of rem_vertex! by drawing inspiration from the one in LightGraphs.jl. It only works on ValGraph for now, because I wanted to discuss the implementation.
I didn't add tests because they seem to be broken for this part of the codebase (which is probably why this line is commented?).
Anyway, let me now what you think!
Hi, I did not have time yet to look to much into this PR, but it is highly appreciated. Will try to do that this week. The tests are a bit of a mess indeed, I will check where they would go best. You are right, that we should definitely model this after LightGraphs, so that there are no surprises.
So I would suggest you add tests to interface/modifiers.jl - the tests for rem_edge! are already there. Eventually I will clean this up and just move these tests then somewhere else.