class_docstr: A wrapper around the results of a lineage query.
class_docstr_tok: ["A","wrapper","around","the","results","of","a","lineage","query","."]
docstr: Convert vertices to tuple format for visualizer.
docstr_tok: ["Convert","vertices","to","tuple","format","for","visualizer","."]
code: def _covert_vertices_to_tuples(self):
      """Convert vertices to tuple format for visualizer."""
      verts = []
      # get vertex info in the form of (id, label, class)
      for vert in self.vertices:
          if vert.arn in self.startarn:
              # add "startarn" class to node if arn is a startarn
              verts.append(
                  (
                      vert.arn,
                      vert.lineage_source,
                      vert.lineage_entity,
                      True,
                  )
              )
          else:
              verts.append(
                  (
                      vert.arn,
                      vert.lineage_source,
                      vert.lineage_entity,
                      False,
                  )
              )
      return verts
  
imports: from __future__ import absolute_import
  from datetime import datetime
  from enum import Enum
  from typing import Any, Optional, Union, List, Dict
  from json import dumps
  from re import sub, search
  from sagemaker.utils import get_module
  from sagemaker.lineage._utils import get_resource_name_from_arn
label_desc: Use image node_id 4 for calling the LineageQueryResult obj's underlying member method code with example usage: obj._covert_vertices_to_tuples() and returns: verts