converts an old graph data structure to the current one.
Gnew = update_graph(G)
Scilab-4.x graph data structure.
new graph data structure (see graph_data_structure).
Converts a Scilab-4.x graph data structure to the new one.
In the future this function will be used to adapt graph data structures according to their versions.