A UI adorner that renders connectors between nodes in a graph.
Inheritance: System.Windows.Documents.Adorner
        void OnLoaded(object sender, RoutedEventArgs e)
        {
            var layer = AdornerLayer.GetAdornerLayer(this);
            if(layer == null)
                return;

            _adorner = new NodeConnectionAdorner(this);
            layer.Add(_adorner);
            GiveGraphToAdorner();
        }
Esempio n. 2
0
        void OnLoaded(object sender, RoutedEventArgs e)
        {
            var layer = AdornerLayer.GetAdornerLayer(this);

            if (layer == null)
            {
                return;
            }

            _adorner = new NodeConnectionAdorner(this);
            layer.Add(_adorner);
            GiveGraphToAdorner();
        }