{"id":17318664,"url":"https://github.com/magjac/discourse-d3-graphviz","last_synced_at":"2026-03-16T01:16:14.168Z","repository":{"id":37880611,"uuid":"258436517","full_name":"magjac/discourse-d3-graphviz","owner":"magjac","description":"Discourse theme component for rendering animated Graphviz graphs using DOT source code","archived":false,"fork":false,"pushed_at":"2024-09-02T20:11:27.000Z","size":314,"stargazers_count":1,"open_issues_count":12,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T16:57:26.402Z","etag":null,"topics":["discourse","dot","graphviz","theme-component"],"latest_commit_sha":null,"homepage":"https://graphviz.discourse.group","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/magjac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-04-24T07:17:07.000Z","updated_at":"2024-09-22T20:18:32.000Z","dependencies_parsed_at":"2024-01-07T19:58:28.201Z","dependency_job_id":null,"html_url":"https://github.com/magjac/discourse-d3-graphviz","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magjac%2Fdiscourse-d3-graphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magjac%2Fdiscourse-d3-graphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magjac%2Fdiscourse-d3-graphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magjac%2Fdiscourse-d3-graphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magjac","download_url":"https://codeload.github.com/magjac/discourse-d3-graphviz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240222330,"owners_count":19767458,"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":["discourse","dot","graphviz","theme-component"],"created_at":"2024-10-15T13:20:33.193Z","updated_at":"2025-12-25T01:37:46.354Z","avatar_url":"https://github.com/magjac.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## discourse-d3-graphviz\n\nA Discourse theme component for rendering animated\n[Graphviz](https://www.graphviz.org/) graphs using\n[DOT](https://www.graphviz.org/doc/info/lang.html) source code. Based\non [d3-graphviz](https://github.com/magjac/d3-graphviz).\n\n### Usage\n#### Basic\n\nSee the [Graphviz](https://www.graphviz.org/documentation/) site for documentation and examples.\n\nTo use with a discourse post, wrap the graph defintion in `dot` tags\nlike this:\n\n```\n[dot] digraph {a -\u003e b} [/dot]\n```\n\nMulti-line is also supported:\n\n```\n[dot]\ndigraph {\n  a -\u003e b\n}\n[/dot]\n```\n\n#### Animated transition\n\nAn animated transition between multiple graphs is shown when more\nthan one graph is added to the same paragraph of a post like so:\n\n```\n[dot] digraph {bgcolor=lightblue a -\u003e b} [/dot]\n[dot] digraph {bgcolor=lightblue a -\u003e b; a -\u003e c} [/dot]\n[dot] digraph {bgcolor=lightblue a -\u003e b; a -\u003e c; b -\u003e c} [/dot]\n```\n\nor\n\n```\n[dot]\ndigraph {\na -\u003e b\n}\n[/dot]\n[dot]\ndigraph {\na -\u003e b\na -\u003e c\n}\n[/dot]\n[dot]\ndigraph {\na -\u003e b\na -\u003e c\nb -\u003e c\n}\n[/dot]\n```\n\nParagraphs are separated by blank lines, so this will generate three separate graphs:\n\n```\n[dot] digraph {bgcolor=lightblue a -\u003e b} [/dot]\n\n[dot] digraph {bgcolor=lightblue a -\u003e b; a -\u003e c} [/dot]\n\n[dot] digraph {bgcolor=lightblue a -\u003e b; a -\u003e c; b -\u003e c} [/dot]\n```\n\n### Installation\n\nSee [How do I install a Theme or Theme Component?](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagjac%2Fdiscourse-d3-graphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagjac%2Fdiscourse-d3-graphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagjac%2Fdiscourse-d3-graphviz/lists"}