change output format to in-degree/out-degree