class_docstr: Graph, collection of nodes and edges.
class_docstr_tok: ["Graph",",","collection","of","nodes","and","edges","."]
code: def _refresh_relations(self):
      rels = self.relationship_types()
  
      # Unpack data.
      self._relationship_types = [r[0] for _, r in enumerate(rels)]
  
imports: import warnings
  from ..helpers import quote_string, random_string, stringify_param_value
  from .commands import AsyncGraphCommands, GraphCommands
  from .edge import Edge
  from .node import Node
  from .path import Path
label_desc: Use image node_id 6 for calling the Graph obj's underlying member method code with example usage: obj._refresh_relations() without return types