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
485 B
15 lines
485 B
#!/usr/bin/julia |
|
# command line program printing the graph |
|
|
|
push!(LOAD_PATH, pwd()) # add current directory to path |
|
print("compiling... ") # compilation of printer might take long |
|
using GraphPrinter |
|
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 |
|
|
|
GraphPrinter.animate_wotmap(folder) # compute graph layout and print images
|
|
|