Exemple #1
0
 // 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);
     }
 }
Exemple #2
0
        /// <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();
        }