dependabot[bot] 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
..
ast 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
internal 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
AUTHORS e989f0a25f init 7 vuotta sitten
CONTRIBUTORS e989f0a25f init 7 vuotta sitten
LICENSE e989f0a25f init 7 vuotta sitten
Makefile 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
Readme.md 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
analyse.go e989f0a25f init 7 vuotta sitten
attr.go 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
attrs.go e989f0a25f init 7 vuotta sitten
catch.go e989f0a25f init 7 vuotta sitten
dot.bnf e989f0a25f init 7 vuotta sitten
edges.go e989f0a25f init 7 vuotta sitten
escape.go 777e48d729 build(deps): bump github.com/awalterschulze/gographviz 3 kuukautta sitten
gographviz.go e989f0a25f init 7 vuotta sitten
graph.go e989f0a25f init 7 vuotta sitten
nodes.go e989f0a25f init 7 vuotta sitten
relations.go e989f0a25f init 7 vuotta sitten
subgraphs.go e989f0a25f init 7 vuotta sitten
write.go e989f0a25f init 7 vuotta sitten

Readme.md

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.

This parser has been created using gocc.

Example (Parse and Edit)

graphAst, _ := gographviz.ParseString(`digraph G {}`)
graph := gographviz.NewGraph()
if err := gographviz.Analyse(graphAst, graph); err != nil {
    panic(err)
}
graph.AddNode("G", "a", nil)
graph.AddNode("G", "b", nil)
graph.AddEdge("a", "b", true, nil)
output := graph.String()

Documentation

Installation

go get github.com/awalterschulze/gographviz

Build and Tests

Build Status

Users

  • aptly - Debian repository management tool
  • gorgonia - A Library that helps facilitate machine learning in Go
  • imagemonkey - Let's create our own image dataset
  • depviz - GitHub dependency visualizer (auto-roadmap)
  • kustomize-graph - A tool to visualize Kustomize dependencies
  • inframap - Read your tfstate or HCL to generate a graph specific for each Terraform provider
  • Antrea Traceflow supports using Traceflow for network diagnosis for Antrea, a Kubernetes networking solution intended to be Kubernetes native

Mentions

Using Golang and GraphViz to Visualize Complex Grails Applications