public void AddFocalNode(SingleDepthNodeProxy focalNode)
        {
            _focalNode = focalNode;
            UIElement[] focalUIElements = CreateFocalNodeUIElement(focalNode);

            foreach (UIElement focalUIElement in focalUIElements)
            {
                _currentChildren.Add(focalUIElement);
                _control.uxMapSurface.Children.Add(focalUIElement);
            }
        }
        private UIElement[] CreateFocalNodeUIElement(SingleDepthNodeProxy nodeProxy)
        {
            nodeProxy.CentreX   = CentreX;
            nodeProxy.CentreY   = CentreY;
            nodeProxy.IsFocused = true;
            nodeProxy.NodeCount = NumberOfNodes;
            nodeProxy.NodeIndex = NodeCount;
            nodeProxy.Radius    = 300;

            return(nodeProxy.RenderUIElements());
        }
        private UIElement[] CreateFocalNodeUIElement(SingleDepthNodeProxy nodeProxy)
        {
            nodeProxy.CentreX = CentreX;
            nodeProxy.CentreY = CentreY;
            nodeProxy.IsFocused = true;
            nodeProxy.NodeCount = NumberOfNodes;
            nodeProxy.NodeIndex = NodeCount;
            nodeProxy.Radius = 300;

            return nodeProxy.RenderUIElements();
        }
        public void AddNode(SingleDepthNodeProxy node)
        {
            if (!_focalNode.Equals(node))
            {
                UIElement[] nodeUIElements = CreateNodeUIElement(node);

                NodeCount++;

                foreach (UIElement nodeUIElement in nodeUIElements)
                {
                    _currentChildren.Add(nodeUIElement);
                    _control.uxMapSurface.Children.Add(nodeUIElement);
                }
            }
        }
        public void AddFocalNode(SingleDepthNodeProxy focalNode)
        {
            _focalNode = focalNode;
            UIElement[] focalUIElements = CreateFocalNodeUIElement(focalNode);

            foreach (UIElement focalUIElement in focalUIElements)
            {
                _currentChildren.Add(focalUIElement);
                _control.uxMapSurface.Children.Add(focalUIElement);
            }
        }
        public void AddNode(SingleDepthNodeProxy node)
        {
            if (!_focalNode.Equals(node))
            {
                UIElement[] nodeUIElements = CreateNodeUIElement(node);

                NodeCount++;

                foreach (UIElement nodeUIElement in nodeUIElements)
                {
                    _currentChildren.Add(nodeUIElement);
                    _control.uxMapSurface.Children.Add(nodeUIElement);
                }
            }
        }