class_docstr: EPGM class with converter methods to edgelist, adjacency matrix, etc.
class_docstr_tok: ["EPGM","class","with","converter","methods","to","edgelist",",","adjacency","matrix",",","etc","."]
docstr: List node labels(types) in graph with graph_id
docstr_tok: ["List","node","labels","(","types",")","in","graph","with","graph_id"]
code: def node_types(self, graph_id):
      """List node labels(types) in graph with graph_id"""
      if not any([graph_id in g["id"] for g in self.G["graphs"]]):
          raise Exception(
              "Graph with id {} does not exist".format(graph_id)
          )
  
      node_types = [
          v["meta"]["label"]
          for v in self.G["vertices"]
          if graph_id in v["meta"]["graphs"]
      ]
      return np.unique(node_types)
  
imports: from collections import OrderedDict
  import networkx
  from networkx.readwrite import json_graph
  import os
  import json
  import uuid
  import numpy
  import scipy.sparse
  import multiprocessing
  from multiprocessing import Pool
  from functools import partial
  from time import sleep
label_desc: Use image node_id 7 for calling the EPGM obj's underlying member method code with example usage: obj.node_types(graph_id) and returns: np