graph.disconnectLinks(element)

Disconnect all the associated links with the element.