added optional display of node degrees on each node