<< edit_graph_menus Affichage - Édition hilite_edges >>

metanet >> metanet > Affichage - Édition > egraphic_data_structure

egraphic_data_structure

data structure representing the graphic properties used for edges graphical display

Description

A data structure represented by a Scilab mlist with type egraphic and 8 fields:

Examples

//create a simple graph
ta=[1  1 2 7 8 9 10 10 10 10 11 12 13 13 4];
he=[2 10 7 8 9 7  7 11 13 13 12 13  9 10 4];
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.edges.graphics.defaults.width=2;
g.edges.graphics.defaults.foreground=color('red');
show_graph(g)

g.edges.graphics.width(1:5)=1;
g.edges.graphics.foreground([10 12])=color('blue');
show_graph(g)

g.edges.graphics.display='number';
show_graph(g)

g.edges.graphics

See Also


Report an issue
<< edit_graph_menus Affichage - Édition hilite_edges >>