// Breaks all the links attached to the pin private static void BreakLinks(GraphPin pin) { GraphLink[] links = pin.GetConntectedLinks(); foreach (var link in links) { DestroyLink(link); } }
/// <summary> /// Destroys all links connected to this pin /// </summary> private static void DestroyPinLinks(GraphPin pin) { var pinLinks = pin.GetConntectedLinks(); foreach (var link in pinLinks) { GraphOperations.DestroyLink(link); } pin.NotifyPinLinksDestroyed(); }