[REBOL] Re: Graph Drawing & /View Performance
From: rotenca:telvia:it at: 7-May-2002 18:27
Hi, Christian
> f/image/clear
> f/image/line 200x200 150x300
>
> Comment the line "f/image: to-image edge-layout" to see how fast node
> layouting is with edge drawing turned off.
I think you should use a dinamic draw block, to-image is too slow.
Draw lines on a background face with something like
effect: [draw [lines...]
and change the effect at every frame. The clear of old lines comes for free,
when you change the effect, you are deleting the old draw instructions.
---
Ciao
Romano