private void ClearEdgeBlueprint()
        {
            if (this.edgeBlueprint == null)
            {
                return;
            }

            this.graphArea.RemoveCustomChildControl(this.edgeBlueprint.EdgePath);
            this.edgeBlueprint.Dispose();
            this.edgeBlueprint = null;
        }
 public void CreateVirtualEdge(VertexControl source, Point targetPos)
 {
     this.zoomControl.MouseMove += this.ZoomControlMouseMove;
     this.edgeBlueprint          = new EdgeBlueprint(source, targetPos, (LinearGradientBrush)this.resourceDictionary["EdgeBrush"]);
     this.graphArea.InsertCustomChildControl(0, this.edgeBlueprint.EdgePath);
 }