Skip to content
Weave templates

Saga Orchestration

Orchestrator coordinating distributed steps with compensation paths.

Template previewWeave
Rendering…

Make it your own.

{
  "nodes": [
    { "id":"o","type":"hexagon","label":"Saga\norchestrator","x":340,"y":40,"fill":"#fef3c7","w":160,"h":80 },
    { "id":"p","type":"rounded","label":"Charge card","x":80,"y":180 },
    { "id":"i","type":"rounded","label":"Reserve stock","x":340,"y":180 },
    { "id":"s","type":"rounded","label":"Schedule shipping","x":600,"y":180 },
    { "id":"cp","type":"rounded","label":"Refund card","x":80,"y":320,"fill":"#fee2e2" },
    { "id":"ci","type":"rounded","label":"Release stock","x":340,"y":320,"fill":"#fee2e2" }
  ],
  "edges": [
    { "id":"a","source":"o","target":"p","label":"1" },
    { "id":"b","source":"o","target":"i","label":"2" },
    { "id":"c","source":"o","target":"s","label":"3" },
    { "id":"d","source":"p","target":"cp","label":"compensate","style":"dashed" },
    { "id":"e","source":"i","target":"ci","label":"compensate","style":"dashed" }
  ]
}