vis=Id<>[]
font=ge_get_edge_font(n)
if Id==[] then Id=' ',end
- r=xstringl(0,0,Id,font(2),font(1));r=r(3)
+ r = stringbox(Id, 0, 0, 0, font(2), font(1));
+ r = abs(r(1,3) - r(1,1));
if ang>90&ang<270 then //co negatif
a=ang*%pi/180
xstring(xyl(1)+r*cos(a),xyl(2)-r*sin(a),Id,ang+180 );
gindex=ge_axes_handle.user_data
hnodes=[];
- tic();
for k=1:size(GraphList.nodes.graphics.x,'*'),
hnodes(k)=ge_draw_node(k);
//if modulo(k,40)==0 then drawnow();show_pixmap();drawlater(),end
end
- disp(toc())
- tic();
hedges=[];
for k=1:size(GraphList.edges.tail,'*'),
hedges(k)=ge_draw_edge(k),
//if modulo(k,40)==0 then drawnow();show_pixmap();drawlater(),end
end
- disp(toc());
gindex.node=hnodes;gindex.edge=hedges;
ge_axes_handle.user_data=gindex;
- drawnow();
-show_pixmap()
+ drawnow();show_pixmap();
endfunction