code: """**Graphs** provide a natural language interface to graph databases."""
  import warnings
  from typing import Any
  
  from langchain_core._api import LangChainDeprecationWarning
  
  from langchain.utils.interactive_env import is_interactive_env
  
  
  def __getattr__(name: str) -> Any:
      from langchain_community import graphs
  
      # If not in interactive env, raise warning.
      if not is_interactive_env():
          warnings.warn(
              "Importing graphs from langchain is deprecated. Importing from "
              "langchain will no longer be supported as of langchain==0.2.0. "
              "Please import from langchain-community instead:\n\n"
              f"`from langchain_community.graphs import {name}`.\n\n"
              "To install langchain-community run `pip install -U langchain-community`.",
              category=LangChainDeprecationWarning,
          )
  
      return getattr(graphs, name)
  
  
  __all__ = [
      "MemgraphGraph",
      "NetworkxEntityGraph",
      "Neo4jGraph",
      "NebulaGraph",
      "NeptuneGraph",
      "KuzuGraph",
      "HugeGraph",
      "RdfGraph",
      "ArangoGraph",
      "FalkorDBGraph",
  ]
  
apis: langchain.utils.interactive_env.is_interactive_env
extract_api: [((378, 398), 'langchain.utils.interactive_env.is_interactive_env', 'is_interactive_env', ([], {}), '()\n', (396, 398), False, 'from langchain.utils.interactive_env import is_interactive_env\n'), ((408, 773), 'warnings.warn', 'warnings.warn', (['f"""Importing graphs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:\n\n`from langchain_community.graphs import {name}`.\n\nTo install langchain-community run `pip install -U langchain-community`."""'], {'category': 'LangChainDeprecationWarning'}), '(\n    f"""Importing graphs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:\n\n`from langchain_community.graphs import {name}`.\n\nTo install langchain-community run `pip install -U langchain-community`."""\n    , category=LangChainDeprecationWarning)\n', (421, 773), False, 'import warnings\n')]