{"id":34501329,"url":"https://github.com/haaziq386/motifscale","last_synced_at":"2026-04-24T10:04:33.778Z","repository":{"id":329946923,"uuid":"1121101480","full_name":"Haaziq386/MotifScale","owner":"Haaziq386","description":"MotifGraphLab is a Python framework for generating large graphs from 4‑node motifs. It computes scalable metrics (diameter, clustering, path length, triangles) with exact and approximate methods.","archived":false,"fork":false,"pushed_at":"2025-12-22T12:49:58.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T23:46:44.596Z","etag":null,"topics":["clustering-coefficient","complex-networks","data-science","diameter-estimation","graph-analysis","graph-generation","graph-theory","motifs","network-science","networkx","python","research-tool","scalability","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haaziq386.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-22T12:45:07.000Z","updated_at":"2025-12-22T12:50:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Haaziq386/MotifScale","commit_stats":null,"previous_names":["haaziq386/motifscale"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Haaziq386/MotifScale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haaziq386%2FMotifScale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haaziq386%2FMotifScale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haaziq386%2FMotifScale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haaziq386%2FMotifScale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haaziq386","download_url":"https://codeload.github.com/Haaziq386/MotifScale/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haaziq386%2FMotifScale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27992996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clustering-coefficient","complex-networks","data-science","diameter-estimation","graph-analysis","graph-generation","graph-theory","motifs","network-science","networkx","python","research-tool","scalability","simulation"],"created_at":"2025-12-24T02:00:57.488Z","updated_at":"2025-12-24T02:01:45.031Z","avatar_url":"https://github.com/Haaziq386.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motif Graph Generator — Quick Start\n\nCourse Project: CSL-519 Social Network Analysis\nInstructor: Prof. Pradumn K. Pandey\n\nSmall README to run the Python script that generates motif-based graphs and reports metrics.\n\n## Requirements\n\n* Python 3.8+ recommended\n* Install dependencies:\n\n```bash\npip install networkx numpy scipy tqdm matplotlib\n```\n\n## Run\n\nFrom the directory containing `BTech_22114055_Haaziq.py`:\n\n```bash\npython BTech_22114055_Haaziq.py\n```\n\nThe script will:\n\n* Generate graphs for sizes defined in the `sizes` list in the `if __name__ == \"__main__\"` block.\n* Print aligned results (edges, diameter, path length, triangles, clustering, motif proportions).\n\n## Quick edits\n\nOpen the script and edit the following in the `__main__` block:\n\n* `sizes` — list of node counts to run.\n* `edges_for_size` — target number of edges per size.\n* `motif_fracs` — desired motif proportions (must map to `MOTIF_ORDER`).\n* `runs_map` — number of runs to average per size (use `1` for very large sizes).\n\n## Notes\n\n* Large runs (50k, 100k) may take significant memory/time. Use `runs_map` to reduce repetitions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaaziq386%2Fmotifscale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaaziq386%2Fmotifscale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaaziq386%2Fmotifscale/lists"}