When one party in a relationship is dependent/needy it can evoke a feeling of gratification/strength/power in the other, giving one a feeling of being wanted, this in turn adds distractive value which is confused with love.
The main thing with a needy relationships is that the drama that is created is emotionally draining, seldom do you have time to think who you are, which allows it to serve its purpose.
If you are able to see that you are being drawn into a needy relationship then this shows that you have some awareness on the issue (which is probably more that can be said of many others).
Recognising the strengths and weaknesses in others helps shed light on your own path in life. When you are content within everyone around you will reflect that back. Relationships provide us the opportunity to examine ourselves, if we are strong we meet strong people, if we are needy we meet needy people, we meet people who reflect us, by changing within we change the outside.