{
  "format": 3,
  "id": "same-rank",
  "title": "Put parallel outcomes on the same row",
  "direction": "down",
  "layout": {
    "hints": [
      {
        "kind": "sameRank",
        "nodes": [
          "quick",
          "finish"
        ],
        "strength": "required"
      }
    ]
  },
  "layers": {
    "service": {
      "label": "Service"
    }
  },
  "lanes": {},
  "frames": {},
  "nodes": {
    "start": {
      "label": "Start",
      "layer": "service",
      "box": [
        71.75,
        16,
        60,
        36
      ]
    },
    "quick": {
      "label": "Quick",
      "layer": "service",
      "box": [
        121,
        216,
        60,
        36
      ]
    },
    "prepare": {
      "label": "Prepare",
      "layer": "service",
      "box": [
        16,
        116,
        73,
        36
      ]
    },
    "finish": {
      "label": "Finish",
      "layer": "service",
      "box": [
        22,
        216,
        61,
        36
      ]
    }
  },
  "edges": {
    "quick": {
      "from": "start",
      "to": "quick",
      "path": "M119.48000000000002,52 L119.48000000000002,184 L151,184 L151,216",
      "badge": [
        119.48000000000002,
        149.76
      ]
    },
    "prepare": {
      "from": "start",
      "to": "prepare",
      "path": "M84.02,52 L52.5,84 L52.5,116",
      "badge": [
        57.03210609043342,
        79.39887706554983
      ]
    },
    "finish": {
      "from": "prepare",
      "to": "finish",
      "path": "M52.5,152 L52.5,184 L52.5,216",
      "badge": [
        52.5,
        184
      ]
    }
  },
  "scenarios": [
    {
      "id": "outcomes",
      "label": "Parallel outcomes",
      "display": {
        "counterLabel": true,
        "edges": "progressive",
        "edgeBadges": true,
        "nodeBadges": false,
        "log": "incremental"
      },
      "steps": [
        {
          "id": "start",
          "title": "Start together",
          "text": "A request can take a direct path or a path with preparation.",
          "show": [
            "start"
          ],
          "current": [],
          "edges": [],
          "defs": [],
          "sources": [],
          "deeper": []
        },
        {
          "id": "quick",
          "title": "Take the direct path",
          "text": "Quick is an outcome, even though it needs only one arrow.",
          "show": [
            "start",
            "quick"
          ],
          "current": [],
          "edges": [
            "quick"
          ],
          "defs": [],
          "sources": [],
          "deeper": []
        },
        {
          "id": "prepare",
          "title": "Prepare the other path",
          "text": "The second path needs a preparation step before it can finish.",
          "show": [
            "start",
            "quick",
            "prepare"
          ],
          "current": [],
          "edges": [
            "quick",
            "prepare"
          ],
          "defs": [],
          "sources": [],
          "deeper": []
        },
        {
          "id": "finish",
          "title": "Compare the outcomes",
          "text": "Quick and Finish belong on one row because they are parallel outcomes. The sameRank hint expresses this without coordinates.",
          "show": [
            "start",
            "quick",
            "prepare",
            "finish"
          ],
          "current": [],
          "edges": [
            "quick",
            "prepare",
            "finish"
          ],
          "defs": [],
          "sources": [],
          "deeper": []
        }
      ]
    }
  ],
  "definitions": {},
  "code": {},
  "concepts": [],
  "callouts": {},
  "deeper": [],
  "viewBox": [
    197,
    268
  ],
  "measurement": {
    "name": "font-table",
    "labels": {}
  }
}
