split_igraph function

Split an igraph object into aligned graphs by attribute