Skip to content

Add functions to get num vertices and edges in the C API - #5664

Open
ChuckHastings wants to merge 2 commits into
rapidsai:release/26.10from
ChuckHastings:add_function_for_num_vertices_edges_in_c_api
Open

Add functions to get num vertices and edges in the C API#5664
ChuckHastings wants to merge 2 commits into
rapidsai:release/26.10from
ChuckHastings:add_function_for_num_vertices_edges_in_c_api

Conversation

@ChuckHastings

Copy link
Copy Markdown
Collaborator

Add functions in the C API to get the number of vertices and edges from the cugraph_graph_t. Exposes these to the PLC layer.

Also updated how num_of_edges_ is calculated so that it accurately reflects (in MG) the number of unmasked edges in the graph.

Closes #5329

@copy-pr-bot

copy-pr-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ChuckHastings ChuckHastings added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 10, 2026
@ChuckHastings
ChuckHastings marked this pull request as ready for review September 10, 2026 18:38
@ChuckHastings
ChuckHastings requested review from a team as code owners September 10, 2026 18:38

@seunghwak seunghwak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants