bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / graph / _rag / RAG / next_id
function
skimage.graph._rag:RAG.next_id
source: /dev/scikit-image/src/skimage/graph/_rag.py:285
Signature
def next_id(self)Summary
Returns the id for the new node to be inserted.
Extended Summary
The current implementation returns one more than the maximum id.
Returns
id: intThe id of the new node to be inserted.
Aliases
skimage.graph.RAG.next_id