NL_G_NodeClose2XY finds the closest node I from the geographic location (X,Y).
Examples
n=100;//network sizel=1000;//network squared area sided=100;//Locality radius[g]=NL_T_LocalityConnex(n,l,d);//generation of a random topologyind=1;//window indexf=NL_G_ShowGraphN(g,ind);//graph visualizationxc=l/2;//area centeryc=l/2;[nc]=NL_G_NodeClose2XY(g,xc,yc)//application of NARVAL_G_NodeClose2XYc=5;//visualization parameters: color, border and diameter b=10;d=50;i2=2;//window indexnodes=[12610];//list of nodes[gm,f2]=NL_G_HighlightNodes(g,nc,c,b,d,i2);