method Links.Clear ()
Removes all objects in a collection.

TypeDescription
Use the Clear method to remove all links from the surface. The Remove method removes a specific link from the Links collection. The IncomingLinks property returns a safe array of incoming links ( links that ends on the element ). The OutgoingLinks property returns a safe array of outgoing links ( links that starts from the element ). The RemoveLink event notifies your application once a link has been removed from the Links collection. The ShowLinks property specifies whether the surface shows or hides the links.