Connect Mediapipe landmark points

Hi,
I am using Mediapipe tox i got from internet to get landmarks from hands. I got the landmarks but when i try to connect two landmarks with a Line SOP, the A and B points of Line are not attached to the landmarks. Any solution?
Thank you