[FEA] Change the default for Graph instances returned by PropertyGraph.extract_subgraph()
to directed
#2459
Labels
? - Needs Triage
Need team to review and classify
breaking
Breaking change
improvement
Improvement / enhancement to an existing function
Milestone
Most known use cases for
PropertyGraph.extract_subgraph()
require a directed graph (eg. GNN sampling pipelines). The current default is undirected, and users are required to pass a graph instance tocreate_using
to get a directed graph.Perhaps since the Property Graph itself is directed by nature (ie. the edge data is not being symmetrized), and the majority of users (as far as we know) need directed, the default graph instance returned by
extract_subgraph
ifcreate_using
isn't specified should be directed.NOTE: I've added the
breaking
label to this issue since changing a default is technically a breaking change.See also #2457
The text was updated successfully, but these errors were encountered: