public void NotifyLinkableMoved()
        {
            if (_end1 == null || _end2 == null)
            {
                return;
            }


            //for link with cluster at least on one side, use rect. anchors
            //if (_end1 is ClientCluster || _end2 is ClientCluster)
            //{
            //    RefreshContactSide(VdSegmentUtil.SegmentMarker.Side1);
            //    RefreshContactSide(VdSegmentUtil.SegmentMarker.Side2);
            //}
            //else
            //{
            //for link between badges, central aligned
            RefreshLinkLayout();
            //}

            _captions.SetBounds();

            SetMarkers();
            updateUserCursor();
        }
Exemple #2
0
        private void SetBounds()
        {
            Canvas.SetLeft(bezierBorder, _offset.X);
            Canvas.SetTop(bezierBorder, _offset.Y);

            setUsrCursor();

            GetLinkable().InvalidateLinks();

            _captions.SetBounds();
        }