class_docstr: A wrapper around the results of a lineage query.
class_docstr_tok: ["A","wrapper","around","the","results","of","a","lineage","query","."]
docstr: Get elements(nodes+edges) for visualization.
docstr_tok: ["Get","elements","(","nodes+edges",")","for","visualization","."]
code: def _get_visualization_elements(self):
      """Get elements(nodes+edges) for visualization."""
      verts = self._covert_vertices_to_tuples()
      edges = self._covert_edges_to_tuples()
  
      elements = {"nodes": verts, "edges": edges}
      return elements
  
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 5 for calling the LineageQueryResult obj's underlying member method code with example usage: obj._get_visualization_elements() and returns: elements