Hi Alex,

I've encountered a very strange behavior and I cannot tell what is going on.

This is old RTEdge build*

~~~~~~~~~~~~~~~~~~~~~
| v es |
v := RTView new.

es := RTBox elementsOn: (1 to: 10).
v addAll: es.
es @ RTDraggable.

RTEdge buildEdgesFromObjects: (1 to: 10) from: #yourself toAll:  [:value | (Array with: value -1  with: value + 1 with: value + 2) ] inView: v.

RTForceBasedLayout on: es.
v addAnimation: (RTSpringLayoutStepping new view: v).

v @ RTDraggableView.

^ v
~~~~~~~~~~~~~~~~~~~~~~~~

the layouting is almost instant,

however if I use RTEdgeBuilder suddenly it is very slow

~~~~~~~~~~~~~~~~~~~~~~~~
| v es |
v := RTView new.

es := RTBox elementsOn: (1 to: 10).
v addAll: es.
es @ RTDraggable.

RTEdgeBuilder new
view: v;
elements: es;
connectToAll: [:value | (Array with: value -1  with: value + 1 with: value + 2) ].

RTForceBasedLayout on: es.
v addAnimation: (RTSpringLayoutStepping new view: v).

v @ RTDraggableView.

^ v
~~~~~~~~~~~~~~~~~~~~~~~~~~

the view still has the same number of elements and edges and the output looks identical, but with EdgeBuilder is it very slow.

Profiler is showing me that with EdgeBuilder it spends a lot of time in attach points and with moving edges, which is strange.

In either case it has no right to be so slow with 10 elements and 26 edges...

Can you reproduce this behavior?

Thanks,
Peter