public void SetFrom(NodeControl nodeControl) { InMotion = true; var location = RenderTransform.Transform(nodeControl.Centre); ArrowCreationSets.Add(new ArrowCreationSet(nodeControl, location)); }
private void Reset() { foreach (var arrowCreationSet in ArrowCreationSets) { ParentSurface.Remove(arrowCreationSet.ArrowControl); } ArrowCreationSets.Clear(); InMotion = false; _added.Clear(); }