{"id":13658979,"url":"https://github.com/ldd/tech-tree-js","last_synced_at":"2025-03-17T17:30:39.583Z","repository":{"id":148325630,"uuid":"54570245","full_name":"ldd/tech-tree-js","owner":"ldd","description":"Generate tech trees using d3.js","archived":false,"fork":false,"pushed_at":"2020-04-04T06:45:09.000Z","size":896,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T02:10:08.849Z","etag":null,"topics":["javascript","tech-tree","tech-tree-js"],"latest_commit_sha":null,"homepage":"","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/ldd.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}},"created_at":"2016-03-23T15:16:39.000Z","updated_at":"2024-12-21T16:54:48.000Z","dependencies_parsed_at":"2023-05-19T19:00:25.545Z","dependency_job_id":null,"html_url":"https://github.com/ldd/tech-tree-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Ftech-tree-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Ftech-tree-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Ftech-tree-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Ftech-tree-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldd","download_url":"https://codeload.github.com/ldd/tech-tree-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871904,"owners_count":20361380,"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":["javascript","tech-tree","tech-tree-js"],"created_at":"2024-08-02T05:01:04.272Z","updated_at":"2025-03-17T17:30:39.148Z","avatar_url":"https://github.com/ldd.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"tech-tree-js \n===\n![tech tree example](https://user-images.githubusercontent.com/1187476/30304466-a83803f6-973b-11e7-85ec-88988919b151.png)\n\n# Update\nIf you use react, consider taking a look at my library [react-tech-tree](https://github.com/ldd/react-tech-tree). It has support for tooltips, styling, etc.\n\n\n# Demo\nPlease check out the demo by visiting [https://ldd.github.io/tech-tree-js](https://ldd.github.io/tech-tree-js)\n\n![activating a tech node](https://user-images.githubusercontent.com/1187476/30272962-f4513da6-96c4-11e7-85c5-9a6eb1495eae.gif)\n\n## Features\n- use a TexturePacker spritesheet or individual images\n- horizontal, vertical and even radial tech trees\n- multiple parents for a single technology\n\n## Usage\n### in the browser\nDownload the [minified file](dist/js/techtree.min.js.map) and optinally, the [source map](dist/js/techtree.min.js.map). Include the minified file and the dependencies in your html file \n```\n    \u003cscript src=\"lib/d3.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"lib/saveSvgAsPng.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"js/techTree.min.js\"\u003e\u003c/script\u003e\n```\n\n\n## Building and running\n\nTo build, be sure you have [```node```](http://nodejs.org) and ```npm``` installed.\n\nIdeally, you should also have ```gulp``` installed globally.\n\nClone the directory using git:\n\n    git clone https://github.com/ldd/techtreejs\n\nInstall dependencies:\n\n    npm install\n\nBuild:\n\n    gulp\n\nRun a webserver\n\n    gulp serve\n\nThen open a browser and go to [localhost:8000](http://localhost:8000) to see the site.\n\n\nArt used\n===\nArt assets used under the [CC-BY 3.0 License](https://creativecommons.org/licenses/by/3.0/)\n\n- J. W. Bjerk (eleazzaar) -- www.jwbjerk.com/art  -- find this and other open art at: [http://opengameart.org](http://opengameart.org)\n- Henrique Lazarini -- [ails.deviantart.com](ails.deviantart.com)\n\nSoftware libraries used\n===\n\nLibraries used under the [MIT License](http://www.opensource.org/licenses/mit-license.php)\n- d3\n- saveSvgAsPng\n\nCopyright (C) 2017 ldd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldd%2Ftech-tree-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldd%2Ftech-tree-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldd%2Ftech-tree-js/lists"}