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

feat: add induced_subgraph functionality #499

Merged
merged 19 commits into from
Oct 12, 2024
Merged

Conversation

askorupka
Copy link
Collaborator

This PR introduces induced_subgraph functionality to match Graphs interface.

As per @CarloLucibello comment in the #495

Notice that we already have the very similar function sample_neighbors in GNNGraphs.jl. Let's implement induced_interface as well in order to be Graphs.jl compliant.

GNNGraphs/src/GNNGraphs.jl Outdated Show resolved Hide resolved
GNNGraphs/src/sampling.jl Outdated Show resolved Hide resolved
GNNGraphs/src/sampling.jl Outdated Show resolved Hide resolved
GNNGraphs/src/sampling.jl Outdated Show resolved Hide resolved
GNNGraphs/src/sampling.jl Outdated Show resolved Hide resolved
@CarloLucibello CarloLucibello merged commit 8dbac17 into master Oct 12, 2024
5 checks passed
@CarloLucibello CarloLucibello deleted the feat/induced_subgraph branch November 12, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants