예제 #1
0
        private void ClearEdgeBp()
        {
            if (this.edgeBp == null)
            {
                return;
            }

            this.graphArea.RemoveCustomChildControl(this.edgeBp.EdgePath);
            this.edgeBp.Dispose();
            this.edgeBp = null;
        }
예제 #2
0
 public void CreateVirtualEdge(VertexControl source, Point targetPos)
 {
     this.zoomControl.MouseMove += this.ZoomControl_MouseMove;
     this.edgeBp = new EdgeBlueprint(source, targetPos, (LinearGradientBrush)this.rd["EdgeBrush"]);
     this.graphArea.InsertCustomChildControl(0, this.edgeBp.EdgePath);
 }