Save a graph.
NL_G_SaveGraph(G,N)
Graph.
File name without extension.
NL_G_SaveGraph saves the graph G into the file 'N.graph'.
n=100;//network size l=1000;//network squared area side d=100;//Locality radius [g]=NL_T_LocalityConnex(n,l,d);//generation of a topology l=length(g.head);//quantity of edges n=g.node_number;//quantity of nodes name='locality_n'+string(n)+'_l_'+string(l);//file name NL_G_SaveGraph(g,name);//application of NL_G_SaveGraph //storage in PWD //type pwd in the console in order to know where the generated file is located | ![]() | ![]() |