-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Labels
AI 🤖For issues that can be handled by a coding agent. A scheduled workflow will look at those.For issues that can be handled by a coding agent. A scheduled workflow will look at those.argument consistencyissues related to argument naming/defaultsissues related to argument naming/defaultslifecycleDeprecating old APIsDeprecating old APIs
Milestone
Description
Some graph constructors create directed graphs by default, some create undirected ones, even when they can create either. This is confusing. Can we make the default undirected for all graph constructors in 2.0, when this makes sense? Opinions?
Examples
- These are all undirected by default, even though they can create directed graphs as well:
sample_gnm,make_ring,make_chordal_ring,make_full_graph,make_bipartite_graph(!) ... - These are all directed by default, even though they can create undirected graphs as well:
make_tree,make_star,make_graph(!, comparemake_bipartite_graph), ... - Of course, there are cases when there is only one reasonable choice for the directedness.
make_kautzmust be directed,make_from_prufermust be undirected,make_line_graphmust follow the directness of its argument,make_directed_graphandmake_undirected_graphmust follow their naming, etc.
Copilot
Metadata
Metadata
Assignees
Labels
AI 🤖For issues that can be handled by a coding agent. A scheduled workflow will look at those.For issues that can be handled by a coding agent. A scheduled workflow will look at those.argument consistencyissues related to argument naming/defaultsissues related to argument naming/defaultslifecycleDeprecating old APIsDeprecating old APIs