Script pour obtenir une animation de la toile de confiance duniter.
[dépôt archivé] le code a été intégré à DataJune (https://git.42l.fr/HugoTrentesaux/DataJune.jl)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
460 B
15 lines
460 B
#!/usr/bin/julia |
|
# command line program converting text files to lightgraph |
|
|
|
push!(LOAD_PATH, pwd()) # add current directory to path |
|
print("compiling... ") |
|
using LightGraphExporter |
|
println("done") |
|
|
|
if length(ARGS) == 0 |
|
folder = joinpath(pwd(), "output") # default output folder |
|
elseif length(ARGS) >= 1 |
|
folder = joinpath(pwd(), ARGS[1]) # get source directory as first argument |
|
end |
|
|
|
LightGraphExporter.txt2lg(folder, 3600*24) # create lg files each day |