NetworkX

Previous topic

is_frozen

Next topic

degree_histogram

degree

static function.degree(G, nbunch=None, weight=None)

Return degree of single node or of nbunch of nodes. If nbunch is ommitted, then return degrees of all nodes.