{"id":13773670,"url":"https://github.com/ondras/rollup-plugin-graph","last_synced_at":"2025-04-24T12:32:57.965Z","repository":{"id":49833189,"uuid":"87052614","full_name":"ondras/rollup-plugin-graph","owner":"ondras","description":"Generates module dependencies graph, using the DOT language.","archived":false,"fork":false,"pushed_at":"2022-11-01T14:51:45.000Z","size":405,"stargazers_count":32,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T14:42:56.632Z","etag":null,"topics":["util"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ondras.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}},"created_at":"2017-04-03T08:19:11.000Z","updated_at":"2025-02-07T03:51:44.000Z","dependencies_parsed_at":"2023-01-21T05:01:29.170Z","dependency_job_id":null,"html_url":"https://github.com/ondras/rollup-plugin-graph","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Frollup-plugin-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Frollup-plugin-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Frollup-plugin-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Frollup-plugin-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondras","download_url":"https://codeload.github.com/ondras/rollup-plugin-graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250628857,"owners_count":21461701,"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","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":["util"],"created_at":"2024-08-03T17:01:18.805Z","updated_at":"2025-04-24T12:32:57.649Z","avatar_url":"https://github.com/ondras.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["All-Purpose Awesome"],"readme":"# rollup-plugin-graph\n\nGenerates module dependencies graph, using the DOT language. To actually draw images, you will need the `graphviz` toolbox.\n\nIn your `rollup.config.js`:\n```js\nlet graph = require(\"rollup-plugin-graph\");\nlet graphOptions = {prune: true};\n\nmodule.exports = {\n    /* ... */\n    plugins: [ graph(graphOptions) ]\n};\n```\n\nIn your terminal:\n```sh\nrollup -c | dot -Tpng \u003e graph.png\n```\n\n## Options\n\n  * `prune` (bool) Whether to prune the resulting graph, leaving only cyclic dependencies. This makes the graph [strongly connected](https://en.wikipedia.org/wiki/Strongly_connected_component).\n     Examples: [pruned](https://raw.githubusercontent.com/ondras/sleeping-beauty/master/graphs/pruned.png), [not pruned](https://raw.githubusercontent.com/ondras/sleeping-beauty/master/graphs/complete.png)\n  * `exclude` (string or regexp) Specified the module ID pattern to be excluded from the graph.\n\n## Sample output\n\n![](demo.png)\n\nPlease note that this plugin is not directly responsible for image rendering. It generates output in the [DOT language](https://en.wikipedia.org/wiki/DOT_(graph_description_language)), so you need to use a proper tool (such as [Graphviz](https://www.graphviz.org/)) to create the image. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Frollup-plugin-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondras%2Frollup-plugin-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Frollup-plugin-graph/lists"}