LinkPanel problem on ForceDirectedLayout

Hi,

I modified IncrementalTree sample in the Demo so that it always adds two nodes on expanding. In ForceDirectedLayout, the two new children are positioned above and below the parent. Then I found the link between the parent to children are not displaying correctly.

This is after expanding the parent:
after%20expanding%20the%20parent

Then links look fine after I manually dragged two children:
after%20dragging%20the%20children

The same thing also happens when I added 6 nodes. It seems it’s caused by the fact nodes are vertically aligned. Is there any workaround?

Thanks. Kai

Which kit and platform are you using?

Sorry, I tested with both WPF 1.1.2.3 and WPF 1.0.8.3

An interesting bug in our geometry calculations. It will be fixed for the 1.1 release.

Thank you!