Degree centrality support

Open
#1,129 6 comments 0 reactions 0 assignees View on GitHub

@TheMLEngineer is already working on this.

Since Mar 17, 2024.

  • #1145 by @TheMLEngineer — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, rust
Domain
backend, data

Research direction

Start by reviewing the NetworkX degree_centrality reference linked in the issue and the open pull request #1145, which already addresses this enhancement. Done means Rustworkx supports degree centrality consistently with the referenced NetworkX behavior; inspect the pull request for the relevant entry points and tests.

Written by the indexing model from the issue text.

Description

enhancement good first issue
What is the expected enhancement?

It would be nice if Rustworkx could support the Degree_centraly features like Networkx.
https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.centrality.degree_centrality.html

Dominant language
Rust
Stars
1.8k
Forks
220
Avg merge
3d 16h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Qiskit/rustworkx

All issues in Qiskit/rustworkx

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.