associate affiliations with nodes