{"id":23757162,"url":"https://github.com/mmitch/choicescript-graphviz","last_synced_at":"2026-03-16T22:30:15.397Z","repository":{"id":40578198,"uuid":"108759540","full_name":"mmitch/choicescript-graphviz","owner":"mmitch","description":"visualize ChoiceScript files as graphs using graphviz/dot","archived":false,"fork":false,"pushed_at":"2022-05-01T11:51:28.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T19:38:04.967Z","etag":null,"topics":["choicescript","graph","graphviz","graphviz-dot","tree","visualisation","visualization"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/mmitch.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-10-29T18:23:04.000Z","updated_at":"2022-05-01T08:29:54.000Z","dependencies_parsed_at":"2022-08-09T23:40:35.079Z","dependency_job_id":null,"html_url":"https://github.com/mmitch/choicescript-graphviz","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/mmitch%2Fchoicescript-graphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fchoicescript-graphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fchoicescript-graphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fchoicescript-graphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmitch","download_url":"https://codeload.github.com/mmitch/choicescript-graphviz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927821,"owners_count":19719835,"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":["choicescript","graph","graphviz","graphviz-dot","tree","visualisation","visualization"],"created_at":"2024-12-31T19:38:16.243Z","updated_at":"2026-03-16T22:30:15.344Z","avatar_url":"https://github.com/mmitch.png","language":"Java","readme":"convert ChoiceScript files to GraphViz trees\n============================================\n\n[![Build Status](https://github.com/mmitch/choicescript-graphviz/workflows/Java%20CI/badge.svg?branch=master)](https://github.com/mmitch/choicescript-graphviz/actions?query=workflow%3A%22Java+CI%22)\n\nrequirement\n-----------\n\n- java\n- gradle (`sudo apt-get install gradle`)\n\ninstallation\n------------\n```\n$ git clone https://github.com/mmitch/choicescript-graphviz.git\n$ cd choicescript-graphviz\n$ make\n```\n\nusage\n-----\n\n`java -cp /path/to/choicescript-graphviz/build/classes/java/main Main /path/to/choicescript/scene.txt \u003e output.dot`\n\n**Note:** The output can be viewed with `xdot` or other graphviz software.\n\nexamples\n--------\n\n1. [example ChoiceScript file](example/example-4-spaces.txt)\n2. [converted to dot](example/example.dot)\n3. [converted to SVG](example/example.dot.svg)\n\nproject status\n--------------\n\n- spontaneous idea\n- had some fun coding\n- works so far\n\nNot all ChoiceScript parameters are implemented yet.  I don't know if\nthey ever will be.\n\nNote that text nodes are shortened to *T[character_count]*.  The first\npart of the text will be displayed as a tooltip.\n\ntodos\n-----\n\n- implement missing commands\n  - *comment\n  - *else\n  - *elsif\n  - *gosub\n  - *goto_scene\n  - *hide_reuse\n  - *input_text\n  - *return\n  - *temp\n- *if between *choice and #selection\n- show *disable_reuse on #selection graph edge\n- show *selectable_if on #selection graph edge\n\nresources\n---------\n\n- [ChoiceScript introduction](https://www.choiceofgames.com/make-your-own-games/choicescript-intro/)\n- [ChoiceScript sources](https://github.com/dfabulich/choicescript)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmitch%2Fchoicescript-graphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmitch%2Fchoicescript-graphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmitch%2Fchoicescript-graphviz/lists"}