Exception deleting link in group

<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />Hi Walter.

I overrided method in the model to remove the links.

public class CustomGraphLinksModel : GraphLinksModel<CNode, Guid, String, CLink>
{
protected override void DeleteLink(CLink linkdata)
{
base.DeleteLink(linkdata);
}
}

I Inserted link2 between group and node. Removing of link2 caused an exception.

Link1 removes well.

<?:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />

How do I override the method to remove the links?

//I can send the source code -)

What are you trying to do?
What was the exception?

The purpose of the DeleteLink protected method is to implement the removal of the link data from the LinksSource collection.
Unless you are using some unusual collection type, you won’t need to override this method.

I want to remove the link for “Delete” button. LinksSource it ObservableCollection.
if deleting link2 then throw an exception:

"System.NullReferenceException - Object reference not set to an instance of an object"
http://rapidshare.com/files/423365810/GroupDiagram.zip

OK, we can reproduce the exception. We’ll look into it as soon as we can.

I have put an updated version 1.2 beta DLL here: [obsolete]

Thanks