summaryrefslogtreecommitdiff
path: root/dot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot.lua')
-rwxr-xr-xdot.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/dot.lua b/dot.lua
index 8ef5685..b9c6fee 100755
--- a/dot.lua
+++ b/dot.lua
@@ -1,10 +1,7 @@
#!/usr/bin/env lua
local automaton = require "automaton"
-local init = {}
-for i=1, 25 do
- table.insert(init, i)
-end
-init = automaton(init)
+local generate = require "generate"
+local init = automaton(generate.trange(1, 25))
local function dump_edges (state, prefix, color)