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

Major refactor #23

Merged
merged 8 commits into from
Sep 3, 2024
Merged

Major refactor #23

merged 8 commits into from
Sep 3, 2024

Conversation

AleksanderWWW
Copy link
Owner

No description provided.

@AleksanderWWW AleksanderWWW merged commit 257b8b8 into main Sep 3, 2024
12 checks passed
@AleksanderWWW AleksanderWWW deleted the aw/refactor branch September 3, 2024 16:53
@AleksanderWWW
Copy link
Owner Author

AleksanderWWW commented Sep 3, 2024

from abcd_graph import Graph, ABCDParams
from abcd_graph.utils import seed

from abcd_graph.callbacks import StatsCollector, Visualizer, PropertyCollector

seed(42)

stats = StatsCollector()
vis = Visualizer()
props = PropertyCollector()
params = ABCDParams()
g = Graph(params, n=1000, logger=True, callbacks=[stats, vis, props]).build()

print(stats.statistics)

vis.draw_community_cdf()

To install for demo purposes:
pip install git+https://github.com/AleksanderWWW/[email protected]

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.

1 participant