Let there be a quadrilateral ABCD. AB=1, BC=2, CD= 3 and AD=7. So shortest path between A to D is 6 i.e. A-B-C-D
Now increase by one.
AB=2, BC=3, CD=4 and AD=8.
Now the shortest path from A to D is 8 i.e the direct edge connecting A and D and not via B and C because it weighs 2+3+4=9.