.. module:: cupyx.scipy.sparse.csgraph

Compressed sparse graph routines (:mod:`cupyx.scipy.sparse.csgraph`)
====================================================================

.. note::

   The ``csgraph`` module uses ``pylibcugraph`` as a backend.
   You need to install `pylibcugraph package <https://anaconda.org/rapidsai/pylibcugraph>` from ``rapidsai`` Conda channel to use features listed on this page.

.. note::
   Currently, the ``csgraph`` module is not supported on AMD ROCm platforms.

.. Hint:: `SciPy API Reference: Compressed sparse graph routines (scipy.sparse.csgraph) <https://docs.scipy.org/doc/scipy/reference/sparse.csgraph.html>`_

Contents
---------------------

.. autosummary::
   :toctree: generated/

   connected_components
