Skip to contents

Assigns path-based IDs (e.g. 1, 1.1, 1.2) to nodes that do not already define a non-empty node_id.

Usage

assign_node_ids(grab, root_id = "1")

Arguments

grab

A grab_atom or grab_bag tree.

root_id

Character root path identifier.

Value

A new grab tree with stable node IDs.