code: def build_linearization_graph(child_name, bases):
      g = nx.DiGraph()
      _build_linearization_graph(
          g, type(child_name, (object,), {}), bases
      )
      return g
  
file_path: zipline/zipline/testing/debug.py
imports: import os
  import subprocess
  import networkx
label_desc: Use image node_id 2 for calling a global function with example usage: build_linearization_graph(child_name, bases) and returns: g