Skip to content

Data Flow

Yuxiang Huang edited this page Feb 28, 2026 · 44 revisions

Overview

Data Flow Diagram You can regenerate this diagram by pasting the linked code into Excalidraw.

Notes

  • Production is the only environment with the serializer.

  • When using the deserializer, make sure to test locally and in staging before use in prod.

    • E.g: graph.json and buildings.json

Deserialization Process for floorplans.json

Step 1

The scraper scrapes the svgs from the FMS website and stores it in the S3 bucket floorplans/svgs folder.

Step 2

https://www.cmu.edu/enterprise-space/database/index.html

The svgs are rescaled to fit in a 1920x1080 rectangle. The nodes and edges are generated. Info such as room aliases and more strict types are reattached to rooms.

Step 3

The svgs are deserialized locally and placed in the visualizer to be in geo-coordinates.

Step 4

The svgs are deserialized to and tested in staging.

Step 5

The svgs are deserialized to and used in production.

Clone this wiki locally