1
.TH con_nodes 1 "September 1995" "Scilab Group" "Scilab function"
4
con_nodes - set of nodes of a connected component
12
: integer, number of the connected component
18
: row vector, node numbers of the connected component
20
\fVcon_nodes\fR returns the row vector \fVns\fR of the numbers of the
21
nodes which belong to the connected component number \fVi\fR.
22
If \fVi\fR is not the number of a connected component, the empty vector
26
ta=[1 1 2 2 2 3 4 4 5 7 7 9 10 12 12 13 13 14 15];
27
he=[2 6 3 4 5 1 3 5 1 8 9 8 11 10 11 11 15 13 14];
28
g=make_graph('foo',1,15,ta,he);
29
g('node_x')=[197 191 106 194 296 305 305 418 422 432 552 550 549 416 548];
30
g('node_y')=[76 181 276 278 276 83 174 281 177 86 175 90 290 397 399];
33
x_message('Displaying the nodes of component #2');
35
nodecolor=0*ones(1,n);
36
nodecolor(1,con_nodes(2,g))=11*ones(con_nodes(2,g));
37
g('node_color')=nodecolor;
38
nodediam=20.*ones(1,n);
39
nodediam(1,con_nodes(2,g))=30*ones(con_nodes(2,g));
40
g('node_diam')=nodediam;
44
connex, is_connex, strong_connex, strong_con_nodes