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 cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Hugo Trentesaux ae0948eaf1 merge dev into master 2 years ago
dev tmp 2 years ago
.gitignore add custom layout 2 years ago
Community.jl tmp 2 years ago
CustomLayout.jl tmp 2 years ago
GraphPrinter.jl merge dev into master 2 years ago
LightGraphExporter.jl partial fix of orphan nodes 2 years ago
README.md merge dev into master 2 years ago
WotUtils.jl tmp 2 years ago
animwotmap.sh add custom layout 2 years ago
blockchain_browser.py merge dev into master 2 years ago
browse_blockchain.py add custom layout 2 years ago
convert_files.jl partial fix of orphan nodes 2 years ago
make_animation.jl partial fix of orphan nodes 2 years ago
preview.jpeg add preview 3 years ago

README.md

Anim-Wotmap

Je propose ici un script pour produire une animation de la toile de confiance Duniter.

preview

installation

Dépendances python

pip install tqdm # dépendances python3 pour la barre de progrès

Dépendances julia

pkg> add LightGraphs GraphPlot Compose Cairo Fontconfig Plots DataStructures Colors ProgressMeter TOML JLD2 CSV # après ] pour le mode pkg

utilisation

Avec la blockchain exportée au format json via dex

./animwotmap.sh # calls python and julia scripts

fonctionnement

  1. parcourt la blockchain pour en extraire les événements pertinents (certifications, expirations, révocations...)
  2. convertit les données précédentes au format LightGraphs pour un certain pas de temps (1 jour par défaut)
  3. parcourt les données du début à la fin et écrit les images