The NodeRelation class.