code: def parse(self, data):
      self.gmeta.node_count = len(data["nodes"])
      self.gmeta.edge_count = len(data["edges"])
      for node in data["nodes"]:
          self.parse_node(node)
      for edge in data["edges"]:
          self.parse_edge(edge)
  
file_path: euler/euler/tools/json2meta.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import json
  import glob
  import os
  import shutil
  from euler.tools.util import *
  from euler.tools.graph_meta import GraphMeta
label_desc: Use image node_id 3 for calling the Generator obj's underlying member method code with example usage: obj.parse(data) without return types