Graph theory as a structural model in the social sciences