test de connexité
res = is_connex(g)
graphe (liste)
entier, résultat du test
is_connex renvoie 1 si le graphe g est connexe et 0 sinon.
is_connex
g
g=make_graph('foo',1,3,[1,2,3,1],[2,3,1,3]); g.nodes.graphics.x=[26,85,-55]; g.nodes.graphics.y=[92,-18,-25]; show_graph(g) is_connex(g) g1=add_node(g,[26,-90]); show_graph(g1) is_connex(g1)