Added in and out degree properties to vertices.