#!/bin/bash

input=$1;
filename=$(basename $input);

curl https://pad.xpub.nl/p/publishing-workflows-exploration/export/txt > $filename.dot
dot -Tpdf $filename.dot > $filename.pdf
dot -Tsvg $filename.dot > $filename.svg
dot -Tpng $filename.dot > $filename.png
#circo -Tpdf $filename.dot > $filename.pdf
#circo -Tsvg $filename.dot > $filename.svg
