Skip to content

rbong/loopgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

loopgen

Tool for creating ordered graphviz circo loops. Generates a plain graphviz circo loop then hardcodes it and adds to it.

requirements

graphviz, bash, coreutils

usage

loopgen.sh input > output.dot

input file format

x number of nodes
prefixes for the generated file (format information, labels)
(blank)
postfixes for the final file (extra connections, inputscale)

Note that if an edge already exists in the prefix, loopgen won't remake it.

output

graph with node0 to nodex

example

input file

6
node0 [label="bop it"];
node1 [label="twist it"];
node2 [label="pull it"];
node3 [label="flick it"];
node4 [label="spin it"];
node5 [label="throw it away"];
node5 -> node0 [style=invis];

node0 -> node3;
// this keeps the program from running out of memory
inputscale=72

command

loopgen.sh input | neato -Tpng > output.png

output fixed output normally, this would result in normal output

About

Tool for creating ordered graphviz circo loops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages