{"id":23136500,"url":"https://github.com/sdq/history-tree","last_synced_at":"2025-10-17T13:02:22.973Z","repository":{"id":81318861,"uuid":"160280962","full_name":"sdq/history-tree","owner":"sdq","description":"An interactive history tree for undo/redo/reset/revisit in javascript","archived":false,"fork":false,"pushed_at":"2019-01-10T13:36:56.000Z","size":772,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T10:33:04.308Z","etag":null,"topics":["d3","tree","undo-redo"],"latest_commit_sha":null,"homepage":"https://sdq.github.io/history-tree","language":"JavaScript","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/sdq.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":"2018-12-04T01:58:28.000Z","updated_at":"2024-03-09T05:33:02.000Z","dependencies_parsed_at":"2023-03-12T09:46:00.172Z","dependency_job_id":null,"html_url":"https://github.com/sdq/history-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sdq/history-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdq%2Fhistory-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdq%2Fhistory-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdq%2Fhistory-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdq%2Fhistory-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdq","download_url":"https://codeload.github.com/sdq/history-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdq%2Fhistory-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279348885,"owners_count":26153474,"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-10-17T02:00:07.504Z","response_time":56,"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":["d3","tree","undo-redo"],"created_at":"2024-12-17T12:21:06.610Z","updated_at":"2025-10-17T13:02:22.968Z","avatar_url":"https://github.com/sdq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# history-tree\n\nAn interactive history tree for undo/redo/reset/revisit in javascript. [demo Link](https://sdq.github.io/history-tree)\n\n![Demo](./demo.gif)\n\nInteraction design \n------\n![interaction](./interaction-demo.png)\n\nInstallation\n------\n```\n\u003cscript src=\"https://sdq.ai/history-tree/history-tree.js\"\u003e\u003c/script\u003e\n```\n\nUse history-tree structure\n------\n```\nvar tree = historyTree();\ntree.append(state);\ntree.undo();\ntree.redo();\ntree.reset();\ntree.revisit(id);\ntree.find(id);\ntree.log(chart.export());\n```\n\nUse history-tree-view\n------\n```\nvar chart = historyTreeView();\nchart.container(\"#your-container-id\");\nchart.append(state);\nchart.undo();\nchart.redo();\nchart.reset();\nchart.revisit(id);\nchart.find(id);\nconsole.log(chart.export());\n```\n\nAuthor\n------\n[sdq](http://shidanqing.net)\n\n\nLicense\n-------\n[MIT](https://opensource.org/licenses/MIT)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdq%2Fhistory-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdq%2Fhistory-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdq%2Fhistory-tree/lists"}