https://github.com/seamia/filterdot
filter out parts of your .dot graph that you are not interested in
https://github.com/seamia/filterdot
dot graphviz
Last synced: 9 months ago
JSON representation
filter out parts of your .dot graph that you are not interested in
- Host: GitHub
- URL: https://github.com/seamia/filterdot
- Owner: seamia
- Created: 2021-03-31T17:25:47.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-01T21:38:28.000Z (over 5 years ago)
- Last Synced: 2025-04-11T19:59:53.171Z (over 1 year ago)
- Topics: dot, graphviz
- Language: Go
- Homepage:
- Size: 90.8 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# filterdot
filter out parts of your (directed) .dot graph that you are not interested in
## show me
go from this:
to this:
## why
sometimes/often the whole graph is too big to be usable, especially if you are interested in a small part of it.
this simple utility allows you to produce a smaller graph based on a list of nodes (and their descendents) to be included ("+")
and a list of nodes to be excluded ("-")
## how
CLI usage:
```
./filterdot Original.dot Resulting.dot +123 +783 -245
```
## build
1. install `go`:
```
https://golang.org/doc/install
```
2. create a directory and "go there"
3. get the source:
```
git clone https://github.com/seamia/filterdot.git
```
4. build
```
go build
```