code: def _extract_equation_components(equation: str) -> Tuple[str, str]:
      if "->" in equation:
          node_name, expression = equation.split("->", 1)
      else:
          node_name, expression = equation.split("=", 1)
      node_name = node_name.strip()
      expression = expression.strip()
      return node_name, expression
  
imports: import ast
  import logging
  import re
  from typing import Tuple
  import networkx
  import numpy
  import scipy.stats
  from dowhy.gcm import AdditiveNoiseModel, EmpiricalDistribution, ScipyDistribution, StructuralCausalModel
  from dowhy.gcm.causal_mechanisms import StochasticModel
  from dowhy.gcm.causal_models import PARENTS_DURING_FIT
  from dowhy.gcm.ml.prediction_model import PredictionModel
  from dowhy.gcm.util.general import shape_into_2d
  from dowhy.graph import get_ordered_predecessors
label_desc: Use image node_id 6 for calling a global function with example usage: _extract_equation_components(equation) and returns: node_name,  expression