ENH: Pass nodes ID as arguments (to be able to call it from C++ modules)