graph-easy - render/convert graphs in/from various formats
479
graph-easy is a tool categorized as Diagram as Code
https://metacpan.org/pod/Graph::Easy
https://github.com/shlomif/perl-graph-easy
https://github.com/nathanielvarona/whalebrew-packages/tree/add-graph-easy-package/graph-easy
I created this Docker Hub repo due to a pending PR whalebrew/whalebrew-packages#111
docker buildx build . --file Dockerfile --progress plain --tag nathanielvarona/graph-easy:0.76 --tag nathanielvarona/graph-easy
docker buildx build . --file Dockerfile --progress plain --platform=linux/amd64,linux/arm64 --tag nathanielvarona/graph-easy:0.76 --tag nathanielvarona/graph-easy
docker pull nathanielvarona/graph-easy
Examples 1: Piping the Text
$ echo "[a]->[b]" | docker run -i --rm nathanielvarona/graph-easy
+---+ +---+
| a | --> | b |
+---+ +---+
Example 2: From a File
# Create a graph-easy file
$ cat <<EOF > longchain.txt
[a]->[b]->[c]->[d]->[e]
EOF
# Render the graph-easy file
$ docker run -i --rm nathanielvarona/graph-easy --input=longchain.txt
+---+ +---+ +---+ +---+ +---+
| a | --> | b | --> | c | --> | d | --> | e |
+---+ +---+ +---+ +---+ +---+
Example 3: Using the here-strings
$ docker run -i --rm nathanielvarona/graph-easy <<< "[a]->[b]->[c][b]->[d]->[e]"
+---+ +---+ +---+ +---+
| a | --> | b | --> | d | --> | e |
+---+ +---+ +---+ +---+
|
|
v
+---+
| c |
+---+
whalebrew install nathanielvarona/graph-easy
Works like a binary
graph-easy --help
Content type
Image
Digest
sha256:996a72f75…
Size
363.2 MB
Last updated
about 2 years ago
docker pull nathanielvarona/graph-easy