code: def visualize(
      cls, src: List[List[str]], text_data_ids: List[int]
  ) -> List[List[str]]:
      if len(text_data_ids) == 0:
          return src
      visualized = []
      for i, s in enumerate(src):
          if i in text_data_ids:
              visualized.append(
                  [
                      cls._visualize_sent(ss, i, j)
                      for j, ss in enumerate(s)
                  ]
              )
          else:
              visualized.append([ss for ss in s])
      return visualized
  
file_path: vizseq/vizseq/_visualizers/seq_visualizer.py
imports: from typing import Dict, List
  from jinja2 import Markup
  from vizseq._aligners import VizseqSrcRefTextAligner, VizseqRefHypoTextAligner
label_desc: Use image node_id 2 for calling the VizSeqSrcVisualizer obj's underlying member method code with example usage: obj.visualize(cls, src, text_data_ids) and returns: visualized, src