{"id":13531159,"url":"https://github.com/ecomfe/echarts-graph-modularity","last_synced_at":"2025-08-02T12:43:03.317Z","repository":{"id":47801435,"uuid":"64894400","full_name":"ecomfe/echarts-graph-modularity","owner":"ecomfe","description":"Graph modularity extension for community detection with Apache ECharts","archived":false,"fork":false,"pushed_at":"2024-03-12T02:48:43.000Z","size":197,"stargazers_count":71,"open_issues_count":1,"forks_count":19,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-05T18:53:29.730Z","etag":null,"topics":["echarts"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ecomfe.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}},"created_at":"2016-08-04T02:15:22.000Z","updated_at":"2025-04-10T15:26:35.000Z","dependencies_parsed_at":"2024-11-02T18:30:21.061Z","dependency_job_id":"b5052547-400e-47d2-960e-97c02d84d258","html_url":"https://github.com/ecomfe/echarts-graph-modularity","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":"0.10526315789473684","last_synced_commit":"ea026557cc3702344e3ef5ba291edfb71b2c9670"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ecomfe/echarts-graph-modularity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fecharts-graph-modularity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fecharts-graph-modularity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fecharts-graph-modularity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fecharts-graph-modularity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomfe","download_url":"https://codeload.github.com/ecomfe/echarts-graph-modularity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fecharts-graph-modularity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268392180,"owners_count":24243297,"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-08-02T02:00:12.353Z","response_time":74,"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":["echarts"],"created_at":"2024-08-01T07:01:00.552Z","updated_at":"2025-08-02T12:43:03.277Z","avatar_url":"https://github.com/ecomfe.png","language":"HTML","funding_links":[],"categories":["Extensions"],"sub_categories":["Videos"],"readme":"# graph modularity extension for [Apache ECharts](https://github.com/apache/echarts)\n\nGraph modularity extension will do community detection and partition a graph's vertices in several subsets. Each subset will be assigned a different color.\n\n![](./example/modularity.png)\n\n## Install\n\n```html\n\u003cscript src=\"echarts.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"echarts-graph-modularity.min.js\"\u003e\u003c/script\u003e\n```\n\nOr\n\n```shell\nnpm install echarts-graph-modularity\n```\n\n```js\nimport * as echarts from 'echarts';\nimport 'echarts-graph-modularity';\n```\n\nNOTE:\n\nV2.x is for ECharts 5.x\n\n## Usage\n\n```js\nsetOption({\n\n    ...\n\n    series: [{\n        type: 'graph',\n        layout: 'force',\n        // Set modularity property true and extension will automatically detect different communities\n        // and assign each different color.\n        modularity: true\n\n        // Specify resolution. Higher resolution will produce less communities\n        modularity: {\n            resolution: 5,\n            // If sort the communities\n            sort: false\n        }\n\n        ...\n    }]\n})\n```\n\n## Notice\n\nThe Apache Software Foundation [Apache ECharts, ECharts](https://echarts.apache.org/), Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the [Apache Software Foundation](https://www.apache.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fecharts-graph-modularity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomfe%2Fecharts-graph-modularity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fecharts-graph-modularity/lists"}