Add degree modules to graph