Big graph creator refactor.