Hello Tiago,
I think I am missing something very simple:
import graph_tool.all as gt
g = gt.Graph(directed = False)
g.add_edge_list([(0, 1), (1, 2)])
print(g)
g.remove_vertex(1)
print(g)
The two print commands give this:Shouldn't it show 0 edges after removal of the middle vertex? When I draw these graphs, I see no edges after removal. Also, would this affect other calculations like shortest paths etc?
Thank you
Snehal
--
Snehal M. Shekatkar
Pune
India