class_docstr: Implemetation of graph in order to sample metapath random walk.
      
docstr: Load node types 
          
docstr_tok: ["Load","node","types"]
code: def load_node_types(self, file_):
      """Load node types"""
      node_types = []
      log.info("node_types_file name: %s" % file_)
      with open(file_, "r") as reader:
          for line in reader:
              items = line.strip().split()
              node_id = int(items[0])
              n_type = items[1]
              node_types.append((node_id, n_type))
  
      return node_types
  
file_path: PGL/legacy/examples/distribute_metapath2vec/graph.py
imports: import argparse
  import sys
  import os
  import numpy
  import pickle
  import tqdm
  import time
  import random
  from pgl.utils.logger import log
  from pgl import heter_graph
label_desc: Use image node_id 4 for calling the m2vGraph obj's underlying member method code with example usage: obj.load_node_types(file_) and returns: node_types