git clone
this project or download sourcepip install -r requirements.txt
- Export your graph as
.gexf
and as.png
. The exportedpng
should be at a square format (height=width
) - Copy or save the
.gexf
and.png
into the cartogephi directory. - Open a terminal and run
python cartogephi.py gexf_file.gexf img_file.png
- Check option available with
python cartogephi.py -h
- Check option available with
- Run
python -m http.server
and go tohttp://localhost:8000/
- You might need to export your
png
in a very large resolution. To reduce a little the size of the file,optipng
is advised to use.optipng -o 5 myimage.png