Initialization of a graph.
[g]=NARVAL_G_GraphInit(name,Lx,Ly,node_number,tail,head,node_name,node_x,node_y,node_color,node_diam,node_border,node_font_size,edge_name,edge_color,edge_width,edge_font_size,edge_length,edge_weight,default_node_diam,default_node_border,default_edge_width,default_font_size)
graph name.
graph area x-limit.
graph area y-limit.
graph size.
links tail vector.
links head vector.
nodes name vector.
vector of nodes x-coordinates.
vector of nodes y-coordinates.
vector of nodes color.
vector of nodes diameter.
vector of nodes border.
vector of nodes name font size.
vector of eddes name.
vector of eddes color.
vector of eddes width.
vector of edges name font size.
vector of edges length.
vector of edges weight.
default node diameter value.
default node border value.
default edge width value.
default font size value.
graph.
NARVAL_G_GraphInit initializes the graph g defined by n nodes with x-coordinates node_x and y-coordinates node_y. The starting (respectivelly finishing) node of each link is stored in head (respectivelly tail).