connectivity test
res = is_connex(g)
a graph_data_structure.
integer, result of the test
is_connex returns 1 if the graph g is connected and 0 otherwise.
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)