-- Bug description --
In the last version of Scilab (5.2.1) for MACOS, after the execution of the example given in edges_data_structure that adds the two attributes "label" and "length" to the edges. Once the graphic window is opened with the graph, if, in the "view" menu, you select the item "options", the displayed information are in disorder. There is no linefeed to display the information related to the arcs.
-- Scilab error message --
-- How to reproduce the bug --
//create a simple graph
ta=[1 1 2 7 8 9 10 10 10 10 11 12 13 13];
he=[2 10 7 8 9 7 7 11 13 13 12 13 9 10];
g=make_graph('simple',1,13,ta,he);
g.nodes.graphics.x=[40,33,29,63,146,233,75,42,114,156,237,260,159];
g.nodes.graphics.y=[7,61,103,142,145,143,43,120,145,18,36,107,107];
show_graph(g,'new')
g=add_edge_data(g,'length',round(10*rand(1,14,'u')));
g=add_edge_data(g,'label','e'+string(1:14));
edgedatafields(g)
g.edges.data
g.edges.data.label
g.edges.data(1:3)
g.edges.graphics.display='label';
show_graph(g)
g.edges.graphics.display='length';
show_graph(g)