public void Execute() { _layout.ConnectionRemoved += AddRemovedConnection; _layout.ObjectRemoved += AddRemovedObject; _layout.RemoveNodeConnection(_connection); _layout.ObjectRemoved -= AddRemovedObject; _layout.ConnectionRemoved -= AddRemovedConnection; }
public void Undo() { _layout.RemoveNodeConnection(_connection); }