A continuous model of strong and weak ties