{
  "format": "graff.animation/1",
  "id": "multicast",
  "title": "Multicast with flooding",
  "description": "Compare a multicast frame crossing a single VLAN. Ports 2 and 4 have listeners. There are no multicast-router ports in this example.",
  "width": 900,
  "height": 376,
  "nodes": [
    {
      "id": "sender",
      "label": "Sender",
      "detail": "Ingress · port 1",
      "x": 34,
      "y": 149,
      "w": 164,
      "h": 64
    },
    {
      "id": "switch",
      "label": "Ethernet switch",
      "detail": "One VLAN",
      "kind": "decision",
      "x": 302,
      "y": 149,
      "w": 185,
      "h": 64
    },
    {
      "id": "port-2",
      "label": "A · Port 2",
      "detail": "Group member",
      "x": 675,
      "y": 35,
      "w": 188,
      "h": 64
    },
    {
      "id": "port-3",
      "label": "B · Port 3",
      "detail": "No membership",
      "x": 675,
      "y": 149,
      "w": 188,
      "h": 64
    },
    {
      "id": "port-4",
      "label": "C · Port 4",
      "detail": "Group member",
      "x": 675,
      "y": 263,
      "w": 188,
      "h": 64
    }
  ],
  "edges": [
    {
      "id": "input",
      "from": "sender",
      "to": "switch",
      "points": [
        [
          198,
          181
        ],
        [
          302,
          181
        ]
      ]
    },
    {
      "id": "out-2",
      "from": "switch",
      "to": "port-2",
      "points": [
        [
          487,
          166
        ],
        [
          545,
          166
        ],
        [
          545,
          67
        ],
        [
          675,
          67
        ]
      ]
    },
    {
      "id": "out-3",
      "from": "switch",
      "to": "port-3",
      "points": [
        [
          487,
          181
        ],
        [
          675,
          181
        ]
      ]
    },
    {
      "id": "out-4",
      "from": "switch",
      "to": "port-4",
      "points": [
        [
          487,
          196
        ],
        [
          545,
          196
        ],
        [
          545,
          295
        ],
        [
          675,
          295
        ]
      ]
    }
  ],
  "marks": [
    {
      "id": "policy",
      "kind": "text",
      "label": "Flooding policy: eligible ports 2, 3 and 4.",
      "x": 34,
      "y": 356
    }
  ],
  "steps": [
    {
      "id": "ingress",
      "pulse": [
        "sender"
      ],
      "title": "One envelope enters",
      "note": "The sender puts packet 17 on port 1. All three receivers share its VLAN.",
      "motionMs": 1200,
      "holdMs": 4650,
      "focus": [
        "sender",
        "input",
        "switch"
      ],
      "travelers": [
        {
          "id": "packet-17",
          "edge": "input",
          "symbol": "envelope",
          "label": "Packet 17"
        }
      ],
      "arrivals": [
        "switch"
      ]
    },
    {
      "id": "forwarding-decision",
      "title": "The switch chooses three ports",
      "note": "With snooping off in this example, the switch floods the packet to every other forwarding port in the VLAN.",
      "motionMs": 0,
      "holdMs": 6150,
      "focus": [
        "switch",
        "policy",
        "out-2",
        "out-3",
        "out-4"
      ]
    },
    {
      "id": "deliveries",
      "title": "Three copies arrive",
      "note": "The envelopes carry the same packet ID. The middle receiver gets a copy even though it never joined the group.",
      "motionMs": 1650,
      "holdMs": 6450,
      "focus": [
        "out-2",
        "out-3",
        "out-4"
      ],
      "travelers": [
        {
          "id": "copy-2",
          "edge": "out-2",
          "symbol": "envelope",
          "parent": "packet-17",
          "label": "Copy to port 2"
        },
        {
          "id": "copy-3",
          "edge": "out-3",
          "symbol": "envelope",
          "parent": "packet-17",
          "label": "Copy to port 3"
        },
        {
          "id": "copy-4",
          "edge": "out-4",
          "symbol": "envelope",
          "parent": "packet-17",
          "label": "Copy to port 4"
        }
      ],
      "arrivals": [
        "port-2",
        "port-3",
        "port-4"
      ]
    }
  ],
  "posterStep": "deliveries"
}
