build.node.data function

Build node data