make graph output dir configurable