attach_attributes function

Attach attributes to a family graphs