"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "2593c925834dba6368a2205228ae335dc4353002"
Unverified Commit 2952f3c4 authored by Mufei Li's avatar Mufei Li Committed by GitHub
Browse files

Update subgraph.py (#2784)


Co-authored-by: default avatarZihao Ye <expye@outlook.com>
parent a655123b
......@@ -181,7 +181,7 @@ def edge_subgraph(graph, edges, preserve_nodes=False, store_ids=True):
If the graph is homogeneous, one can directly pass the above formats.
Otherwise, the argument must be a dictionary with keys being edge types
and values being the nodes.
and values being the edge IDs.
preserve_nodes : bool, optional
If True, do not relabel the incident nodes and remove the isolated nodes
in the extracted subgraph. (Default: False)
......
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