Skip to content

Inconsistent naming of vertex selector parameters #691

@szhorvat

Description

@szhorvat

Functions that calculate a result for each vertex (or a subset of vertices) typically have a vertex selector parameter, controlling which specific vertices to include.

This parameter is usually called vids, but not always. This issue is to make sure that the naming is consistent across all functions.

Incomplete functions that don't use vids:

  • nodes: ego()/neighborhood() and related, constraint(), alpha_centrality(), power_centrality(), ...
  • v: betweenness, cocitation, bibcoupling, degree, distances, ...
  • vids: closeness, similarity, transitivity, strength, page_rank, induced_subgraph, diversity, knn, eccentricity, ...

Metadata

Metadata

Assignees

Labels

AI 🤖For issues that can be handled by a coding agent. A scheduled workflow will look at those.argument consistencyissues related to argument naming/defaultslifecycleDeprecating old APIs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions