.. _api-transform:

Transform -- Graph Transformation
=================================

.. automodule:: dgl.transform

.. autosummary::
    :toctree: ../../generated/

    line_graph
    reverse
    to_simple_graph
    to_bidirected
    khop_adj
    khop_graph
    laplacian_lambda_max
    knn_graph
    segmented_knn_graph
    to_self_loop
    remove_self_loop
    onehot_degree
