Scilab Reference Manual |
---|
load_graph — loads a graph
g = load_graph(name)
name is the name of a graph file which contains the ASCII description of a graph. Such a file must have the "graph" extension. name can be the name or the pathname of the file; if the "graph" extension is missing in name, it is assumed. load_graph returns the corresponding graph list.
g=load_graph(SCI+'/demos/metanet/mesh100.graph'); show_graph(g); g=load_graph(SCI+'/demos/metanet/colored'); show_graph(g,'new');
<< line_graph | make_graph >> |