https://github.com/teleivo/dot
Parser for the DOT language written in Go
https://github.com/teleivo/dot
Last synced: 8 months ago
JSON representation
Parser for the DOT language written in Go
- Host: GitHub
- URL: https://github.com/teleivo/dot
- Owner: teleivo
- License: gpl-3.0
- Created: 2024-08-07T17:04:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-14T06:25:03.000Z (9 months ago)
- Last Synced: 2025-01-14T06:43:53.877Z (9 months ago)
- Language: Go
- Size: 415 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DOT
Parser and formatter for the [DOT language](https://graphviz.org/doc/info/lang.html) written in Go.
## Install
```sh
go get -u github.com/teleivo/dot
```## Formatter
Format your DOT files with `dotfmt`. `dotfmt` is inspired by [gofmt](https://pkg.go.dev/cmd/gofmt).
As such it is opinionated and has no options to change its format.TODO complete example
```sh
go run ./cmd/dotfmt/main.go <