Commit dba2a5b6 authored by Zihao Ye's avatar Zihao Ye Committed by Minjie Wang
Browse files

[Doc] Add DGLSubGraph, and DGLGraph.readonly() interface to docs (#421)

* fix rgcn tutorial

* small fix

* upd

* findedge/s

* upd

* upd

* upd

* upd

* add test

* remove redundancy

* upd

* upd

* upd

* upd

* add edge_subgraph

* explicit cast

* add test immutable subg

* reformat

* reformat

* fix bug

* upd

* hotfix

* subgraph docs
parent bea07b41
...@@ -56,6 +56,7 @@ Transforming graph ...@@ -56,6 +56,7 @@ Transforming graph
DGLGraph.edge_subgraph DGLGraph.edge_subgraph
DGLGraph.line_graph DGLGraph.line_graph
DGLGraph.reverse DGLGraph.reverse
DGLGraph.readonly
Converting from/to other format Converting from/to other format
------------------------------- -------------------------------
......
.. _apigraph:
DGLSubGraph -- Class for subgraph data structure
=========================================
.. currentmodule:: dgl
.. autoclass:: DGLSubGraph
Mapping between subgraph and parent graph
-------------------------------------
:toctree: ../../generated/
DGLSubGraph.parent_nid
DGLSubGraph.parent_eid
DGLSubGraph.map_to_subgraph_nid
Synchronize features between subgraph and parent graph
------------------------------------------------------
:toctree: ../../generated/
DGLSubGraph.copy_from_parent
DGLSubGraph.copy_to_parent
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment