code: def dfs(node, fa_idx):
      max_depth = 0
      for child in node.neighbors:
          if child.idx == fa_idx:
              continue
          max_depth = max(max_depth, dfs(child, node.idx))
      return max_depth + 1
  
file_path: DIG/dig/ggraph/method/JTVAE/fast_jtnn/mol_tree.py
imports: import os
  import rdkit
  import rdkit.Chem
  from tqdm import tqdm
  from .chemutils import get_clique_mol, tree_decomp, get_mol, get_smiles, set_atommap, enum_assemble, decode_stereo
  from .vocab import *
  import argparse
label_desc: Use image node_id 1 for calling a global function with example usage: dfs(node, fa_idx) and returns: unknown