Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return all known stats for a single node #205

Open
leotrs opened this issue Oct 31, 2022 · 2 comments
Open

Return all known stats for a single node #205

leotrs opened this issue Oct 31, 2022 · 2 comments
Labels
new feature New feature or request

Comments

@leotrs
Copy link
Collaborator

leotrs commented Oct 31, 2022

Currently, we have a way of seeing all attributes:

H.nodes.attrs[0]
# -> {"name": "Leo", "color": "green"}

What I'd love to have is a way of seeing all stats too:

H.nodes[0]
# -> {"degree": 10, "clustering": 0.5, "name": "Leo", "color": "green"}

This is assuming that stats are cached, and they will soon be as long as we have frozen hypergraphs (#50) ;)

@leotrs
Copy link
Collaborator Author

leotrs commented Oct 31, 2022

Related to #188 .

@maximelucas maximelucas added the new feature New feature or request label Mar 14, 2023
@leotrs
Copy link
Collaborator Author

leotrs commented Jun 19, 2023

Related to #405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants