You need to sign in or sign up before continuing.
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): ...@@ -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. If the graph is homogeneous, one can directly pass the above formats.
Otherwise, the argument must be a dictionary with keys being edge types 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 preserve_nodes : bool, optional
If True, do not relabel the incident nodes and remove the isolated nodes If True, do not relabel the incident nodes and remove the isolated nodes
in the extracted subgraph. (Default: False) 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