construct graph representation for open-space public buildings, extract prototypes, and compute (n)GED/FaGED for layout-behavior retrieval.
Project description
ged_building_layout
Ged_building_layout is a research-oriented Python library for comparing spatial layouts and human behavioral patterns using function-aware graph representations.
It can also be used independently to construct graph representations of complex architectural layouts with open spaces and to extract layout prototypes from such configurations.
Key features
- Step-wise pipeline (Step0–Step5) for reproducible experiments
- Layout graph representation for complex open-space buildings
- Prototype extraction via community detection (e.g., Infomap)
- Toged / nged / Faged computation + retrieval ranking outputs
- Designed for architectural research workflows
Installation
pip install ged-building-layout
Minimal example (layout graph → CaG)
from ged_building_layout import run_step2_then_step3, Step3Config
run_step2_then_step3(
json_folder="DATA_ROOT/json",
step2_output_folder="OUTPUT_ROOT/step2_basegraphs",
step3_output_root="OUTPUT_ROOT/step3_transform/variants",
step3_selected_folder="OUTPUT_ROOT/step3_transform/selected",
step3_cfg=Step3Config(),
save_png_step2=True,
save_selection_csv_step3=True,
)
Full pipeline example (Step0–Step5)
The complete step-by-step notebook and documentation are hosted on GitHub:
- GitHub repository: https://github.com/songguoarchitect/ged-building-layout
- Example notebook:
quick_start.ipynb
Note: PyPI does not reliably render local images (relative paths).
We keep the PyPI page concise and place full visuals/examples on GitHub.
Data availability
A small example dataset (5 samples) is included for demonstration.
The complete dataset (150 images) is not publicly released due to data usage agreements.
Citation
If you use this pipeline in academic work, please cite:
@article{GuoKeeZhuang2026,
title = {A Function-Aware Graph-Based Layout Retrieval for Open-space Libraries},
author = {Guo, Song and Kee, Tris and Zhuang, Weimin},
journal = {Automation in Construction},
year = {2026}
}
License
MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ged_building_layout-0.2.1.tar.gz.
File metadata
- Download URL: ged_building_layout-0.2.1.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05cecab383e2a82faca6570bf57cc5e0a03bc38e3af65803070c7dd6ef69bdb7
|
|
| MD5 |
555e66099cef9423700a052f9a77c9e6
|
|
| BLAKE2b-256 |
1e8a3263c58e15b1836d5a1074806c56ce8a44abd9dca2c1cc1faa04f1b8a26c
|
File details
Details for the file ged_building_layout-0.2.1-py3-none-any.whl.
File metadata
- Download URL: ged_building_layout-0.2.1-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f64844d13f625e1bd73191fc051ec19e54f634e8b2a583dcb604c0d7bf11e03d
|
|
| MD5 |
39a53c41e47b9db8291d35e4f9ceea44
|
|
| BLAKE2b-256 |
e0520addbe06720bdecf7cdc20c53826302aff63d385c689330dab05de5e786e
|