attributes function

Set graph, vertex, and edge attributes common in MRI analyses