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

New function - viz.plot_network_highlighted_clusters (collaborating with Remy Cazabet at UCBL) #235

Merged
merged 6 commits into from
May 13, 2024

Conversation

amineitji
Copy link

New function - viz.plot_network_highlighted_clusters

💻 Are you changing functionalities?

Description of the Change

This pull request introduces a new function called plot_network_highlighted_clusters to the CDlib library. This function serves as an intermediary between the existing functions plot_network_clusters and plot_community_graph. It is designed to visualize networks with highlighted communities, node color coding for communities, and polygons drawn around clusters.

Figure_1

Alternate Designs

No alternate designs were considered for this function.

Possible Drawbacks

Users may need to familiarize themselves with the new function and its parameters.

Verification Process

To verify the correctness of this change, I followed these steps:

  1. I manually inspected the code changes to ensure they align with the provided specifications.
  2. I ran the example provided in the function's docstring to visualize a sample network with highlighted communities.
  3. I tested various combinations of parameters to ensure they produce expected results and do not cause any errors.
  4. I reviewed the documentation to ensure it accurately describes the purpose and usage of the new function.

Release Notes

This improvement introduces a new function plot_network_highlighted_clusters as an intermediary between plot_network_clusters and plot_community_graph functions. It enables users to visualize networks with highlighted communities, node color coding for communities, and polygons drawn around clusters.

@amineitji amineitji changed the title New function - viz.plot_network_highlighted_clusters New function - viz.plot_network_highlighted_clusters (collaborating with Remy Cazabet at UCBL) Feb 20, 2024
@GiulioRossetti GiulioRossetti merged commit 9ffa893 into GiulioRossetti:master May 13, 2024
2 of 3 checks passed
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.

2 participants