converted ntg_node_attribute into c class ntg_internal::CNodeEndpoint