{"id":20491773,"url":"https://github.com/playwithalgos/tree-width","last_synced_at":"2026-05-27T13:37:12.756Z","repository":{"id":236059248,"uuid":"790719248","full_name":"playwithalgos/tree-width","owner":"playwithalgos","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-27T19:37:40.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-27T13:37:08.604Z","etag":null,"topics":["algorithms","educational-project","graphs","tree-width"],"latest_commit_sha":null,"homepage":"https://playwithalgos.github.io/tree-width/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playwithalgos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-04-23T12:03:23.000Z","updated_at":"2024-08-28T12:53:30.000Z","dependencies_parsed_at":"2024-05-27T23:09:28.783Z","dependency_job_id":null,"html_url":"https://github.com/playwithalgos/tree-width","commit_stats":null,"previous_names":["playwithalgos/tree-width"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/playwithalgos/tree-width","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playwithalgos%2Ftree-width","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playwithalgos%2Ftree-width/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playwithalgos%2Ftree-width/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playwithalgos%2Ftree-width/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playwithalgos","download_url":"https://codeload.github.com/playwithalgos/tree-width/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playwithalgos%2Ftree-width/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33568857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":["algorithms","educational-project","graphs","tree-width"],"created_at":"2024-11-15T17:26:02.027Z","updated_at":"2026-05-27T13:37:12.721Z","avatar_url":"https://github.com/playwithalgos.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-width\n\nThis repository contains a video game for learning the notion of tree decomposition, used to define the tree-width of an undirected graph.\n\n![image](https://github.com/playwithalgos/tree-width/assets/43071857/0043a648-7b54-4fb0-8703-ff6b5c6d965a)\n\n## Principle\n\nThe graphical user interface proposes to add/remove vertices from the bags. The user has to satisfy the three constraints of a tree decomposition:\n  -  Endpoints of each edge should appear in a same bag of the tree decomposition.\n  -  Each bag should contain at most k+1 vertices, where k is the tree-width of the graph\n  -  The bags containing a given vertex should form a connected component in the tree decomposition.\n\n## Interaction\n\nThe user may choose the level. She adds/removes some vertex to a bag by clicking on it in the bag.\n\n\n\n## How to deploy\n\nIn order to deploy, run `npm run deploy`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaywithalgos%2Ftree-width","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaywithalgos%2Ftree-width","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaywithalgos%2Ftree-width/lists"}