{"title": "Повторные попытки обработки заказа", "direction": "TB", "nodes": [{"id": "n1", "label": "Начало: attempts = 0", "shape": "round"}, {"id": "n2", "label": "Есть следующий результат?", "shape": "diamond"}, {"id": "n3", "label": "attempts >= maxAttempts?", "shape": "diamond"}, {"id": "n4", "label": "Увеличить attempts на 1", "shape": "rect"}, {"id": "n5", "label": "Попытка успешна?", "shape": "diamond"}, {"id": "n6", "label": "Вернуть true и attempts", "shape": "round"}, {"id": "n7", "label": "Лимит: вернуть false и attempts", "shape": "round"}, {"id": "n8", "label": "Список исчерпан: false и attempts", "shape": "round"}], "edges": [{"source": "n1", "target": "n2", "label": null}, {"source": "n2", "target": "n3", "label": "Да"}, {"source": "n2", "target": "n8", "label": "Нет"}, {"source": "n3", "target": "n7", "label": "Да"}, {"source": "n3", "target": "n4", "label": "Нет"}, {"source": "n4", "target": "n5", "label": null}, {"source": "n5", "target": "n6", "label": "Да"}, {"source": "n5", "target": "n2", "label": "Нет"}], "language": "ru"}