they seem urelated. go to a dr
The swollen ankle may have nothing to do with your cut finger.
You may have a problem with fluid retention, if you have not fallen and twisted your ankle.
If the swelling in the ankle is a result of an injury or fall, apply a cold compress and elevate the leg and support it with a crepe bandage. For build up of fluid retention you need to elevate your leg. You may have had a insect bite that has caused the swelling. Make sure that you drink plenty of water 2-3 litres of water every day is usually recommended, more if it is hot or you workout.
With the cut finger it would be a good idea to see the doctor to check it out to make sure that it does not have an infection or whether the infection has spread which would require treatment with antibiotics. If the knife was dirty you may need a tetanus injection. Keep the finger clean and dry, depending on the size of the cut you could apply an antiseptic cream on it with a plaster.
Best wishes.
Please see a doctor as soon as possible. It sounds like your finger is infected, and if the infection has spread into your bloodstream, you need medical attention asap. Blessings - Blu