-
Notifications
You must be signed in to change notification settings - Fork 12
/
generate-clouds.sh
34 lines (20 loc) · 1.71 KB
/
generate-clouds.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
python scripts/ipfs-json-maker.py
cargo run --release -- lod-data.json clouds/cross-domain-lod.svg -n 10 -i 5000 -c 350 --ident=neighbour --settings=clouds/cross-domain-lod.json
cargo run --release -- lod-data.json clouds/geography-lod.svg -n 10 -i 5000 -c 300 --ident=neighbour --settings=clouds/geography-lod.json
cargo run --release -- lod-data.json clouds/government-lod.svg -n 10 -i 5000 -c 400 --ident=neighbour --settings=clouds/government-lod.json
cargo run --release -- lod-data.json clouds/life-sciences-lod.svg -n 10 -i 5000 -c 600 --ident=neighbour --settings=clouds/life-sciences-lod.json
cargo run --release -- lod-data.json clouds/linguistic-lod.svg -n 10 -i 5000 -c 500 --ident=neighbour --settings=clouds/linguistic-lod.json
cargo run --release -- lod-data.json clouds/media-lod.svg -n 10 -i 5000 -c 300 --ident=neighbour --settings=clouds/media-lod.json
cargo run --release -- lod-data.json clouds/publications-lod.svg -n 10 -i 5000 -c 400 --ident=neighbour --settings=clouds/publications-lod.json
cargo run --release -- lod-data.json clouds/social-networking-lod.svg -n 10 -i 5000 -c 400 --ident=neighbour --settings=clouds/social-networking-lod.json
cargo run --release -- lod-data.json clouds/user-generated-lod.svg -n 10 -i 5000 -c 300 --ident=neighbour --settings=clouds/user-generated-lod.json
cargo run --release -- lod-data.json clouds/lod-cloud.svg -n 10 -i 5000 --ident=neighbour --settings=clouds/lod-cloud-settings.json
cargo run --release -- ipfs-lod.json clouds/ipfs-lod.svg -n 10 -i 5000 -c 350 --ident=neighbour --settings=clouds/lod-cloud-settings.json
cd clouds
for f in *.svg
do
inkscape -b white -d 300 -e ${f%.svg}.png $f
done
convert -scale 40% lod-cloud.png lod-cloud-sm.jpg
cd -