moved to graph union. Tests remain useful