{
  "schemaVersion": 1,
  "id": "example_architecture",
  "title": "Office space planning and circulation",
  "diagram": {
    "adapter": "flowchart",
    "direction": "LR",
    "nodes": [
      {
        "id": "entry",
        "kind": "door",
        "label": "Main entrance",
        "ports": [
          {
            "name": "hinge",
            "side": "left",
            "position": {
              "x": 0.25,
              "y": 0.65
            },
            "id": "entry:hinge"
          },
          {
            "name": "latch",
            "side": "right",
            "position": {
              "x": 0.85,
              "y": 0.65
            },
            "id": "entry:latch"
          }
        ],
        "fields": {
          "tag": "D-01",
          "clearWidth": "1200 mm",
          "description": ""
        }
      },
      {
        "id": "reception",
        "kind": "room",
        "label": "Reception",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "reception:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "reception:out"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "reception:top"
          },
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "reception:bottom"
          }
        ],
        "fields": {
          "tag": "R-01",
          "dimensions": "5 × 4 m",
          "use": "Reception",
          "description": ""
        }
      },
      {
        "id": "office",
        "kind": "room",
        "label": "Open office",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "office:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "office:out"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "office:top"
          },
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "office:bottom"
          }
        ],
        "fields": {
          "tag": "R-02",
          "dimensions": "8 × 6 m",
          "use": "Workspace",
          "description": ""
        }
      },
      {
        "id": "meeting",
        "kind": "room",
        "label": "Meeting room",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "meeting:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "meeting:out"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "meeting:top"
          },
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "meeting:bottom"
          }
        ],
        "fields": {
          "tag": "R-03",
          "dimensions": "5 × 4 m",
          "use": "Meeting",
          "description": ""
        }
      },
      {
        "id": "stairs",
        "kind": "stairs",
        "label": "Stair core",
        "ports": [
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "stairs:bottom"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "stairs:top"
          }
        ],
        "fields": {
          "tag": "ST-01",
          "steps": "12",
          "description": ""
        }
      },
      {
        "id": "facilities",
        "kind": "room",
        "label": "Facilities",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "facilities:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "facilities:out"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "facilities:top"
          },
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "facilities:bottom"
          }
        ],
        "fields": {
          "tag": "R-04",
          "dimensions": "4 × 3 m",
          "use": "Amenities",
          "description": ""
        }
      },
      {
        "id": "exit",
        "kind": "emergency_exit",
        "label": "Emergency egress",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "exit:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "exit:out"
          }
        ],
        "fields": {
          "tag": "EX-01",
          "destination": "Assembly point",
          "description": ""
        }
      },
      {
        "id": "desk",
        "kind": "desk",
        "label": "Workstation layout",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "desk:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "desk:out"
          },
          {
            "name": "top",
            "side": "top",
            "position": {
              "x": 0.5,
              "y": 0
            },
            "id": "desk:top"
          },
          {
            "name": "bottom",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "desk:bottom"
          }
        ],
        "fields": {
          "tag": "FU-01",
          "size": "1600 × 800 mm",
          "description": ""
        }
      },
      {
        "id": "toilet",
        "kind": "toilet",
        "label": "WC fixture",
        "ports": [
          {
            "name": "supply",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.2
            },
            "id": "toilet:supply"
          },
          {
            "name": "waste",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "toilet:waste"
          }
        ],
        "fields": {
          "tag": "WC-01",
          "fixture": "WC-01",
          "description": ""
        }
      },
      {
        "id": "sink",
        "kind": "sink",
        "label": "Washbasin fixture",
        "ports": [
          {
            "name": "supply",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.2
            },
            "id": "sink:supply"
          },
          {
            "name": "waste",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "sink:waste"
          }
        ],
        "fields": {
          "tag": "WB-01",
          "fixture": "WB-01",
          "description": ""
        }
      },
      {
        "id": "window",
        "kind": "window",
        "label": "North glazing",
        "ports": [
          {
            "name": "in",
            "side": "left",
            "position": {
              "x": 0,
              "y": 0.35
            },
            "id": "window:in"
          },
          {
            "name": "out",
            "side": "right",
            "position": {
              "x": 1,
              "y": 0.35
            },
            "id": "window:out"
          }
        ],
        "fields": {
          "tag": "W-01",
          "size": "1200 × 1200 mm",
          "description": ""
        }
      },
      {
        "id": "north",
        "kind": "north_arrow",
        "label": "Orientation",
        "ports": [
          {
            "name": "origin",
            "side": "bottom",
            "position": {
              "x": 0.5,
              "y": 0.7
            },
            "id": "north:origin"
          }
        ],
        "fields": {
          "tag": "",
          "bearing": "True north",
          "description": ""
        }
      }
    ],
    "connectors": [
      {
        "id": "example_architecture_edge_0",
        "from": {
          "nodeId": "entry",
          "portId": "entry:latch"
        },
        "to": {
          "nodeId": "reception",
          "portId": "reception:in"
        },
        "label": "Arrival"
      },
      {
        "id": "example_architecture_edge_1",
        "from": {
          "nodeId": "reception",
          "portId": "reception:out"
        },
        "to": {
          "nodeId": "office",
          "portId": "office:in"
        },
        "label": "Workspace access"
      },
      {
        "id": "example_architecture_edge_2",
        "from": {
          "nodeId": "reception",
          "portId": "reception:out"
        },
        "to": {
          "nodeId": "meeting",
          "portId": "meeting:in"
        },
        "label": "Visitor route"
      },
      {
        "id": "example_architecture_edge_3",
        "from": {
          "nodeId": "office",
          "portId": "office:out"
        },
        "to": {
          "nodeId": "stairs",
          "portId": "stairs:bottom"
        },
        "label": "Circulation"
      },
      {
        "id": "example_architecture_edge_4",
        "from": {
          "nodeId": "stairs",
          "portId": "stairs:top"
        },
        "to": {
          "nodeId": "exit",
          "portId": "exit:in"
        },
        "label": "Exit route"
      },
      {
        "id": "example_architecture_edge_5",
        "from": {
          "nodeId": "meeting",
          "portId": "meeting:out"
        },
        "to": {
          "nodeId": "facilities",
          "portId": "facilities:in"
        },
        "label": "Amenity access"
      },
      {
        "id": "example_architecture_edge_6",
        "from": {
          "nodeId": "facilities",
          "portId": "facilities:out"
        },
        "to": {
          "nodeId": "toilet",
          "portId": "toilet:supply"
        },
        "label": "Fixture relationship"
      },
      {
        "id": "example_architecture_edge_7",
        "from": {
          "nodeId": "facilities",
          "portId": "facilities:out"
        },
        "to": {
          "nodeId": "sink",
          "portId": "sink:supply"
        },
        "label": "Fixture relationship"
      },
      {
        "id": "example_architecture_edge_8",
        "from": {
          "nodeId": "office",
          "portId": "office:top"
        },
        "to": {
          "nodeId": "desk",
          "portId": "desk:bottom"
        },
        "label": "Furniture schedule"
      },
      {
        "id": "example_architecture_edge_9",
        "from": {
          "nodeId": "office",
          "portId": "office:top"
        },
        "to": {
          "nodeId": "window",
          "portId": "window:in"
        },
        "label": "Opening schedule"
      }
    ],
    "groups": []
  },
  "layout": {
    "entry": {
      "x": 40,
      "y": 220,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "reception": {
      "x": 300,
      "y": 220,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "office": {
      "x": 630,
      "y": 40,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "meeting": {
      "x": 630,
      "y": 360,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "stairs": {
      "x": 960,
      "y": 40,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "facilities": {
      "x": 960,
      "y": 360,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "exit": {
      "x": 1280,
      "y": 40,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "desk": {
      "x": 630,
      "y": -170,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "toilet": {
      "x": 1220,
      "y": 350,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "sink": {
      "x": 1440,
      "y": 350,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "window": {
      "x": 920,
      "y": -170,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    },
    "north": {
      "x": 1400,
      "y": -170,
      "width": 220,
      "height": 150,
      "color": "#f1ece6"
    }
  },
  "presentation": {
    "steps": [
      {
        "id": "example_architecture_focus",
        "type": "focus",
        "targetId": "entry",
        "duration": 3,
        "caption": "An office concept connects arrival, rooms and circulation."
      },
      {
        "id": "example_architecture_trace_0",
        "type": "connection",
        "targetId": "example_architecture_edge_0",
        "duration": 2,
        "caption": "Follow the entrance route to reception."
      },
      {
        "id": "example_architecture_trace_1",
        "type": "connection",
        "targetId": "example_architecture_edge_1",
        "duration": 2,
        "caption": "Workspace access → Open office"
      },
      {
        "id": "example_architecture_trace_2",
        "type": "connection",
        "targetId": "example_architecture_edge_2",
        "duration": 2,
        "caption": "Visitor route → Meeting room"
      },
      {
        "id": "example_architecture_trace_3",
        "type": "connection",
        "targetId": "example_architecture_edge_3",
        "duration": 2,
        "caption": "Circulation → Stair core"
      },
      {
        "id": "example_architecture_trace_4",
        "type": "connection",
        "targetId": "example_architecture_edge_4",
        "duration": 2,
        "caption": "Exit route → Emergency egress"
      },
      {
        "id": "example_architecture_trace_5",
        "type": "connection",
        "targetId": "example_architecture_edge_5",
        "duration": 2,
        "caption": "Amenity access → Facilities"
      },
      {
        "id": "example_architecture_trace_6",
        "type": "connection",
        "targetId": "example_architecture_edge_6",
        "duration": 2,
        "caption": "Fixture relationship → WC fixture"
      },
      {
        "id": "example_architecture_trace_7",
        "type": "connection",
        "targetId": "example_architecture_edge_7",
        "duration": 2,
        "caption": "Fixture relationship → Washbasin fixture"
      },
      {
        "id": "example_architecture_trace_8",
        "type": "connection",
        "targetId": "example_architecture_edge_8",
        "duration": 2,
        "caption": "Furniture schedule → Workstation layout"
      },
      {
        "id": "example_architecture_trace_9",
        "type": "connection",
        "targetId": "example_architecture_edge_9",
        "duration": 2,
        "caption": "Opening schedule → North glazing"
      },
      {
        "id": "example_architecture_note",
        "type": "note",
        "text": "Use this as a space-planning and adjacency diagram. Wall, door, window and fixture symbols are available for further schematic detailing; this is not a scaled construction plan.",
        "duration": 4
      }
    ]
  },
  "connectorStyles": {
    "example_architecture_edge_0": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_1": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_2": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_3": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_4": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_5": {
      "routing": "curved",
      "pattern": "solid",
      "width": 1.8,
      "color": "#647888",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_6": {
      "routing": "elbow",
      "pattern": "dashed",
      "width": 1.8,
      "color": "#8b6bb2",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_7": {
      "routing": "elbow",
      "pattern": "dashed",
      "width": 1.8,
      "color": "#8b6bb2",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_8": {
      "routing": "elbow",
      "pattern": "dashed",
      "width": 1.8,
      "color": "#8b6bb2",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    },
    "example_architecture_edge_9": {
      "routing": "elbow",
      "pattern": "dashed",
      "width": 1.8,
      "color": "#8b6bb2",
      "startArrow": "none",
      "endArrow": "arrow",
      "flow": {
        "enabled": false,
        "direction": "forward",
        "speed": 48
      }
    }
  }
}
