a tool to convert directed and undirected graphs from NAUTY and Traces into adjacency, dot, and net files. (CONVert Graph)
Inspired by the NAUTY
gtools suite - specifically the listg
function but
extending the functionality for directed graphs.
This should be able to determine what format your graphs are in, but you can
fix the format beforehand with the -f
flag.
bash
cargo install convg
```bash
digraph6
file to a DOT
fileconvg -i mydirectedgraph.g6
graph6
file to adjacency matricesgeng -c 4 | convg -F adjmat
graph6
file to .NETgeng -c 4 | watercluster2 Z | convg -F net
convg -i mydirectedgraph.g6 -s 3
convg -i mydirectedgraph.g6 -c 1
convg -i mydirectedgraph.g6 -s 10 -c 3 ```