Self Loops


#1

Hi,
I am having a small problem with self loops. When I draw them in the editor, the loops look just fine. But when I copy and paste a node with a self loop the loop’s radius gets really small. The way I do copy and paste, from your control’s perspective, is really just creating a node via code. Do you have any ideas?
Thanks,
Jake Pearson


#2

So you have code that is being invoked during a paste that creates the self-loop link? Perhaps you need to call GoLink.CalculateStroke once the link is connected to the port.


#3

That worked great, thanks.