From 6deab127866e8079aad120ec43b2b625e0369f10 Mon Sep 17 00:00:00 2001 From: dmullis Date: Mon, 1 Jul 2024 19:56:36 -0700 Subject: [PATCH] Update generated SVG and Markdown files, for GitHub --- README.md | 53 +++- examples/complicated.svg | 1 - examples/regression.svg | 2 +- examples/small-grids.svg | 620 ++++++++++++++++++++++++--------------- 4 files changed, 423 insertions(+), 253 deletions(-) diff --git a/README.md b/README.md index 16bda42..9997522 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ => CONCLUSION: Don't use badges. Instead, pay attention to Action result status. --> - + ## What **GoAT** Can Do For You @@ -58,7 +58,7 @@ with rows above and below. ## Installation ``` - $ go install github.com/blampe/goat/cmd/goat@latest + $ go install github.com/dmullis/goat/cmd/goat@latest ``` @@ -176,14 +176,39 @@ Note that 'ยท' above is not ASCII, but rather Unicode, the MIDDLE DOT character, ### Small Grids ``` - ___ ___ .---+---+---+---+---. .---+---+---+---. .---. .---. .---. .---. .-. .-. 0 - ___/ \___/ \ | | | | | | / \ / \ / \ / \ / | +---+ | | A | | B | | A | | B | 1 - / \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +---+ +---+ '---' '---' '-' '-' 2 - \___/ b \___/ \ | | | b | | | \ / \a/ \b/ \ / \ | +---+ | .---. .---. .-. .-. 3 - / a \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +---+ b +---+ | C | | D | | C | | D | 4 - \___/ \___/ \ | | a | | | | / \ / \ / \ / \ / | a +---+ | '---' '---' '-' '-' 5 - \___/ \___/ '---+---+---+---+---' '---+---+---+---' '---' '---' 0123456789012345678901234 6 - + ___ ___ .---+---+---+---+---. .---+---+---+---. + ___/ \___/ \ | | | | | | / \ / \ / \ / \ / +/ \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +\___/ b \___/ \ | | | b | | | \ / \a/ \b/ \ / \ +/ a \___/ \___/ +---+---+---+---+---+ +---+---+---+---+ +\___/ \___/ \ | | a | | | | / \ / \ / \ / \ / + \___/ \___/ '---+---+---+---+---' '---+---+---+---' + +.---. .---. +--+ +-+ +-+ .-. .--. .-. +-+ +--+ .-. .--. +| | | | | | | | | | | | | | | | | | | | | | | | ++---+ +---+ +--+ +-+ | | | | | | | | +-+ +--+ '-' '--' +| +---+ | | | | | | | | | | | | | ++---+ b +---+ +--+ +-+ | | | | | | | | +| a +---+ | | | | | | | | | | | | | +'---' '---' +--+ +-+ +-+ '-' '--' '-' + ++---+ .---. .---. +| B | | E | | F | ++---+ '---' '---' +.---. +---+ .---. +| D | | G | | H | +'---' +---+ '---' +0123456789012345678901232 + +Not Supported: + .---+---+---. ++---+ .-. .-. 0 | | a | | b | +| A | | A | | B | 1 +++ +--++-+-++--+ ++---+ '-' '-' 2 | | | | | | | ++---+ .-. .-. 3 +-+ +--++-+-++--+ +| C | | C | | D | 4 | | | | | | ++---+ '-' '-' 5 +++ '---+---+---' +0123434567890123456 | ``` ![](//examples/small-grids.svg) @@ -244,12 +269,12 @@ The core engine of ```goat``` is accessible as a Go library package, for inclusi code of your own. The code implements a subset, and some extensions, of the ASCII diagram generation function of the browser-side Javascript in [Markdeep](http://casual-effects.com/markdeep/). -A nicely formatted reference may be found at [pkg.go.dev](https://pkg.go.dev/github.com/blampe/goat). +A nicely formatted reference may be found at [pkg.go.dev](https://pkg.go.dev/github.com/dmullis/goat). ### Installation ``` - $ go get -u github.com/blampe/goat/ + $ go get -u github.com/dmullis/goat/ ``` ### Library Data Flow ![](//goat.svg) @@ -261,13 +286,13 @@ source file [./goat.go](./goat.go). ### Project Tenets diff --git a/examples/complicated.svg b/examples/complicated.svg index 20b5498..0bb438a 100644 --- a/examples/complicated.svg +++ b/examples/complicated.svg @@ -134,7 +134,6 @@ svg { - diff --git a/examples/regression.svg b/examples/regression.svg index f729e42..0d716e3 100644 --- a/examples/regression.svg +++ b/examples/regression.svg @@ -105,7 +105,7 @@ svg { - + diff --git a/examples/small-grids.svg b/examples/small-grids.svg index ceb2e73..529a066 100644 --- a/examples/small-grids.svg +++ b/examples/small-grids.svg @@ -1,4 +1,4 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0 -A -B -A -B -1 -2 -b -b -a -b -3 -a -b -C -D -C -D -4 -a -a -5 -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 -1 -2 -3 -4 -6 +b +b +a +b +a +a +b +a +B +E +F +D +G +H +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +0 +1 +2 +3 +2 +N +o +t +S +u +p +p +o +r +t +e +d +: +0 +a +b +A +A +B +1 +2 +3 +C +C +D +4 +5 +0 +1 +2 +3 +4 +3 +4 +5 +6 +7 +8 +9 +0 +1 +2 +3 +4 +5 +6