add degree and strength in the output