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

'Cleanup' filters for the graph #1776

Open
narnolddd opened this issue Sep 12, 2024 · 0 comments
Open

'Cleanup' filters for the graph #1776

narnolddd opened this issue Sep 12, 2024 · 0 comments
Labels
Enhancement New feature of request Semantics/API Changes to the way we interact with Raphtory or the results which are returned

Comments

@narnolddd
Copy link
Collaborator

Would be awesome to have some cleanup functions on the graph/graph view, my suggested main ones would be:

  • self-loop filter: remove all self-loops.
  • largest connected component: retain just the largest component of g
  • remove isolates (remove nodes not connected to any other node)

Would firstly just be a nice thing to have for users manipulating the graph. Another reason this might be handy is that some algorithms require something of the graph (e.g. for it to have no self-loops or to be connected etc) and currently you have to handle that logic on a case-by-case basis e.g. in the motifs algorithm you need to have self-loop checking in all the subroutines.

@narnolddd narnolddd added Semantics/API Changes to the way we interact with Raphtory or the results which are returned Enhancement New feature of request labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature of request Semantics/API Changes to the way we interact with Raphtory or the results which are returned
Projects
None yet
Development

No branches or pull requests

1 participant