Open
Description
So I often write code like
add_vertex!(tree) # returns "true" for some reason ???
v = last(vertices(tree))
...
wouldn't it be great if add_vertex!
returned something useful, and guaranteed to be the fresh vertex added, instead of a boolean that I can't imagine a use for? PROPOSAL
v = add_vertex!(tree) #new vertex is the return value!
Let me know if I'm missing something. If people love that boolean (Why???) we can always pass it as the first argument but on the whole this would just be way better.