Hi,
I'm try the draw a tree like figure with fc2. Most things are working
well so far but adding many nodes (> 500 rectangles and 500 lines) to
the canvas is really slow. It takes up to 40 sec. Panning, Moving around
later is fast enough...
I'm sure I did something in the wrong way. I'm simply looping over all
objects calling e.g. createRectangle ...
for id, pos in posistions.items():
node_set[id] = canvas.createRectangle( (32, 32),\
name=str(id), pos = pos, look = look )
Are there things that can be done better? Something like batch
operation?
Thanks for your help!
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas