cleanup
render sigmajs graphs to correct dir; create output dir when necessary