{"id":13494041,"url":"https://github.com/mapio/GraphvizAnim","last_synced_at":"2025-03-28T13:31:49.168Z","repository":{"id":56649147,"uuid":"50784834","full_name":"mapio/GraphvizAnim","owner":"mapio","description":"A tool to create animated graph visualizations, based on graphviz. ","archived":false,"fork":false,"pushed_at":"2023-09-21T07:40:23.000Z","size":775,"stargazers_count":486,"open_issues_count":4,"forks_count":56,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-31T08:37:34.020Z","etag":null,"topics":["algoritms-animation","graph-animation","graph-visualization","graphviz"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":["mapio"]}},"created_at":"2016-01-31T17:00:35.000Z","updated_at":"2024-09-26T02:43:46.000Z","dependencies_parsed_at":"2024-10-31T08:41:50.978Z","dependency_job_id":null,"html_url":"https://github.com/mapio/GraphvizAnim","commit_stats":{"total_commits":73,"total_committers":5,"mean_commits":14.6,"dds":0.4383561643835616,"last_synced_commit":"1fe948cc3a24afd1853bae5bc624e68a801c8bff"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapio%2FGraphvizAnim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapio%2FGraphvizAnim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapio%2FGraphvizAnim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapio%2FGraphvizAnim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapio","download_url":"https://codeload.github.com/mapio/GraphvizAnim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246037411,"owners_count":20713413,"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":["algoritms-animation","graph-animation","graph-visualization","graphviz"],"created_at":"2024-07-31T19:01:21.187Z","updated_at":"2025-03-28T13:31:48.876Z","avatar_url":"https://github.com/mapio.png","language":"Python","funding_links":["https://github.com/sponsors/mapio"],"categories":["Python"],"sub_categories":[],"readme":"# GraphvizAnim\n\n[![Build Status](https://travis-ci.org/mapio/GraphvizAnim.png?branch=master)](https://travis-ci.org/mapio/GraphvizAnim) [![Binder](https://img.shields.io/badge/launch-binder-ff69b4.svg?style=flat)](https://mybinder.org/v2/gh/mapio/GraphvizAnim/master?filepath=examples/heapsort.ipynb) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1037283.svg)](https://doi.org/10.5281/zenodo.1037283)\n\n\nGraphvizAnim is a tool to create simple animated graph visualizations; it is\njust a proof of concept, aimed mainly at teaching purposes. It is based on\n[Graphviz](http://www.graphviz.org/) for the graph rendering part and on\n[ImageMagick](http://www.imagemagick.org/) for the animated gif generation. You can [run the heap sort animation](https://mybinder.org/v2/gh/mapio/GraphvizAnim/master?filepath=examples/heapsort.ipynb) on-line using [binder](http://mybinder.org/).\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"examples/dfv.gif\"/\u003e\n\u003cimg src=\"examples/heapsort.gif\"/\u003e\n\u003c/p\u003e\n\nA *graph animation* is just a sequence of *steps*, a step is in turn one or\nmore *actions* such as: *add*, *hilight*, *label*, *unlabel* or *remove* a\n*node*, and  *add*, *hilight*, or *remove* an *edge*. Animations can be built\nby invoking suitable methods of a `gvanim.Animation` object (in a Python\nprogram), or by parsing a simple text file (that, in turn, can be generated by\na program in any language).\n\nThe [examples](examples) folder contains few instances of such approaches.\nAfter installing the package with `python setup.py install`, or using\n\n\tpip install GraphvizAnim\n\nyou can generate an animated depth first visit (in a 3-regular random graph of\n6 nodes) by running\n\n\tpython examples/dfv.py\n\nor you can generate the simple animation described in\n[simple.txt](examples/simple.txt) as\n\n\tpython -m gvanim examples/simple.txt simple\n\nYou can generate an [Erdős–Rényi](https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model) graph (with 10 nodes and edge probability\n1/10) by running\n\n\tcd examples\n\tgcc -o er er.c\n\t./er | python -m gvanim er\n\nFinally, you can obain an interactive visualization of the *heap sort*\nalgorithm using [Jupyter](http://jupyter.org/) by running\n\n\tcd examples\n\tjupyter notebook heapsort.ipynb\n\nand running all the cells in order; or you can give a try to\n[binder](http://mybinder.org) and watch the above animation\n[actually running](https://mybinder.org/v2/gh/mapio/GraphvizAnim/master?filepath=examples/heapsort.ipynb) on-line.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapio%2FGraphvizAnim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapio%2FGraphvizAnim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapio%2FGraphvizAnim/lists"}