Hi Shinnawy,
Thank you for posting query to us.
OnMove() is no longer valid in v.5. You can use EventSink.NodeCollectionChanged() and EventSink.SizeChanged instead.
Please refer to the following code snippets:
this.diagram.Controller.Model.EventSink.Start();
this.diagram.Controller.Model.EventSink.PinPointChanged += new PinPointChangedEventHandler(EventSink_PinPointChanged);
this.diagram.Controller.Model.EventSink.SizeChanged += new SizeChangedEventHandler(EventSink_SizeChanged);
void EventSink_PinPointChanged(PinPointChangedEventArgs evtArgs)
{
Console.WriteLine(evtArgs.NodeAffected.Name);
}
void EventSink_PinPointChanged(PinPointChangedEventArgs evtArgs)
{
Console.WriteLine(evtArgs.NodeAffected.Name);
}
Please refer the forum thread for more details:
http://www.syncfusion.com/support/forums/message.aspx?MessageID=59050Regarding migration from v4.4 to V5.1 of Essential Diagram has been fully refactored to make the product more stable and maintainable. Hence it is completely a new version. I have attached the migration document that helps you to migrate your code from v4.4 to v5.1. You can get the document from the following link :
http://www.syncfusion.com/Support/user/uploads/Migration_680cbfe3.zipKindly let us know if you need any further assistance.
Thank you for using Syncfusion Products.
Best Regards,
Jeba.