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

Rename egonet and move the neighbors method to the IDView class #129

Merged
merged 6 commits into from Jun 29, 2022

Conversation

nwlandry
Copy link
Collaborator

I tried implementing egonet as described in #98 but using subhypergraph in the implementation creates a circular import (because subhypergraph uses freeze)

@nwlandry nwlandry linked an issue Jun 28, 2022 that may be closed by this pull request
Comment on lines +41 to +47
__slots__ = (
"_dispatcher",
"_id_dict",
"_id_attr",
"_bi_id_dict",
"_bi_id_attr",
"_ids",
Copy link
Collaborator

Choose a reason for hiding this comment

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

At this point we might want to consider (in the future) just passing the entire network...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

haha, good point. In the future perhaps the whole network and an indicator whether it's for nodes or edges?

@nwlandry nwlandry merged commit 997f40e into main Jun 29, 2022
@nwlandry nwlandry deleted the fix-egonet branch June 29, 2022 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The current "egonet" method is wrong
2 participants