Create graph directory if it doesn't exist