A visual arrow element that connects two nodes in a graph.
Inheritance: Petzold.Media2D.ArrowLine
Example #1
0
        void AddConnector(Node startNode, Node endNode)
        {
            var connector = new NodeConnector(startNode, endNode);

            _nodeConnectors.Add(connector);

            // Add the connector to the visual and logical tree so that
            // rendering and resource inheritance will work properly.
            AddVisualChild(connector);
            AddLogicalChild(connector);
        }
        void AddConnector(Node startNode, Node endNode)
        {
            var connector = new NodeConnector(startNode, endNode);

            _nodeConnectors.Add(connector);

            // Add the connector to the visual and logical tree so that
            // rendering and resource inheritance will work properly.
            AddVisualChild(connector);
            AddLogicalChild(connector);

        }