Software for creating arc diagrams such as:
arcgonaut is written in Go. It uses Laurent Le Goff's draw2d for the imaging tools and Lucas Beyer's go-colorful for generating colors. The rest is a lot geometry/rescaling.
In this example the list in the middle corresponds to country names, the arc between names corresponds to the amount the first name is "sending" to the second name.
You can install Go here.
go get https://github.com/MaxHalford/arcgonaut
cd $GOPATH/src/github.com/MaxHalford/arcgonaut
go get
go build
For the moment the tool is usable in the command-line.
- Naviguate towards the directory where the binary is.
./arcgonaut -f=data/example.arcgo -c1=#ffc3e1
A PNG will be generated into the same directory. The program takes as input a file that has a specific format. The file extension doesn't matter. Tile has to be a list of lines where every line takes the shape "Steve>Alice>10" (Steve sends 10 to Alice).
- Add different file extensions
- Find a way to handle enormous data files.
The MIT License (MIT). Please see the license file for more information.