Quantum-Memory-Enhanced Preparation of Nonlocal Graph States.