{"id":13413966,"url":"https://github.com/awalterschulze/gographviz","last_synced_at":"2025-05-14T21:06:27.368Z","repository":{"id":28705462,"uuid":"32225965","full_name":"awalterschulze/gographviz","owner":"awalterschulze","description":"Parses the Graphviz DOT language in golang","archived":false,"fork":false,"pushed_at":"2023-02-28T18:35:05.000Z","size":409,"stargazers_count":560,"open_issues_count":8,"forks_count":74,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-13T17:46:47.430Z","etag":null,"topics":["go","golang","graphviz","graphviz-dot-language","parse"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awalterschulze.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-14T18:27:00.000Z","updated_at":"2025-03-21T04:29:52.000Z","dependencies_parsed_at":"2024-06-18T12:25:23.106Z","dependency_job_id":null,"html_url":"https://github.com/awalterschulze/gographviz","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awalterschulze%2Fgographviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awalterschulze%2Fgographviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awalterschulze%2Fgographviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awalterschulze%2Fgographviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awalterschulze","download_url":"https://codeload.github.com/awalterschulze/gographviz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227611,"owners_count":22035669,"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":["go","golang","graphviz","graphviz-dot-language","parse"],"created_at":"2024-07-30T20:01:53.962Z","updated_at":"2025-05-14T21:06:22.354Z","avatar_url":"https://github.com/awalterschulze.png","language":"Go","funding_links":[],"categories":["文本处理`解析和操作文本的代码库`","Text Processing","文本处理","Template Engines","Content","Specific Formats","Bot Building","\u003cspan id=\"文字处理-text-processing\"\u003e文字处理 Text Processing\u003c/span\u003e"],"sub_categories":["查询语","Parsers/Encoders/Decoders","解析 器/Encoders/Decoders","Advanced Console UIs","HTTP Clients","Language Bindings","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"Parses the Graphviz DOT language and creates an interface, in golang, with which to easily create new and manipulate existing graphs which can be written back to the DOT format.\n\nThis parser has been created using [gocc](http://code.google.com/p/gocc).\n\n### Example (Parse and Edit) ###\n\n```\ngraphAst, _ := gographviz.ParseString(`digraph G {}`)\ngraph := gographviz.NewGraph()\nif err := gographviz.Analyse(graphAst, graph); err != nil {\n    panic(err)\n}\ngraph.AddNode(\"G\", \"a\", nil)\ngraph.AddNode(\"G\", \"b\", nil)\ngraph.AddEdge(\"a\", \"b\", true, nil)\noutput := graph.String()\n```\n\n### Documentation ###\n\n  - The [godoc](https://godoc.org/github.com/awalterschulze/gographviz) includes some more examples.\n  - [How to implement an anonymous subgraph](https://github.com/awalterschulze/gographviz/issues/59)\n\n### Installation ###\ngo get github.com/awalterschulze/gographviz\n\n### Build and Tests ###\n\n[![Build Status](https://github.com/awalterschulze/gographviz/workflows/build/badge.svg)](https://github.com/awalterschulze/gographviz/actions)\n\n\n### Users ###\n\n  - [aptly](https://github.com/smira/aptly) - Debian repository management tool\n  - [gorgonia](https://github.com/chewxy/gorgonia) - A Library that helps facilitate machine learning in Go\n  - [imagemonkey](https://imagemonkey.io/graph?editor=true) - Let's create our own image dataset\n  - [depviz](https://github.com/moul/depviz) - GitHub dependency visualizer (auto-roadmap)\n  - [kustomize-graph](https://github.com/jpreese/kustomize-graph) - A tool to visualize Kustomize dependencies\n  - [inframap](https://github.com/cycloidio/inframap) - Read your tfstate or HCL to generate a graph specific for each Terraform provider\n  - [Antrea Traceflow](https://github.com/vmware-tanzu/antrea/blob/master/docs/traceflow-guide.md) supports using Traceflow for network diagnosis for Antrea, a Kubernetes networking solution intended to be Kubernetes native\n\n### Mentions ###\n\n[Using Golang and GraphViz to Visualize Complex Grails Applications](http://ilikeorangutans.github.io/2014/05/03/using-golang-and-graphviz-to-visualize-complex-grails-applications/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawalterschulze%2Fgographviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawalterschulze%2Fgographviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawalterschulze%2Fgographviz/lists"}