private void ClearEdgeBp() { if (_edgeBp == null) { return; } Area.RemoveCustomChildControl(_edgeBp.EdgePath); _edgeBp.Dispose(); _edgeBp = null; }
public void CreateVirtualEdge(VertexControl source, Point mousePos) { _edgeBp = new EdgeBlueprint(source, mousePos, Brushes.White); Area.InsertCustomChildControl(0, _edgeBp.EdgePath); }