Hostname: page-component-89b8bd64d-b5k59 Total loading time: 0 Render date: 2026-05-08T09:58:02.950Z Has data issue: false hasContentIssue false

Automated generation of floor plans with minimum bends

Published online by Cambridge University Press:  04 February 2025

Pinki*
Affiliation:
Department of Mathematics, BITS Pilani, Rajasthan, India
Krishnendra Shekhawat
Affiliation:
Department of Mathematics, BITS Pilani, Rajasthan, India
Akshat Lal
Affiliation:
Department of Mathematics, BITS Pilani, Rajasthan, India
*
Corresponding author: Pinki; Email: 456pinkiyadav@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

The generation of floor plan layouts has been extensively studied in recent years, driven by the need for efficient and functional architectural designs. Despite significant advancements, existing methods often face limitations when dealing with specific input adjacency graphs or room shapes and boundary layouts. When adjacency graphs contain separating triangles, the floor plan must include rectilinear rooms (non-rectangular rooms with concave corners). From a design perspective, minimizing corners or bends in rooms is crucial for functionality and aesthetics. In this article, we present a Python-based application called G-Drawer for automatically generating floor plans with a minimum number of bends. G-Drawer takes any plane triangulated graph as an input and outputs a floor plan layout with minimum bends. It prioritizes generating a rectangular floor plan (RFP); if an RFP is not feasible, it then generates an orthogonal floor plan or an irregular floor plan. G-Drawer modifies orthogonal drawing techniques based on flow networks and applies them on the dual graph of a given PTG to generate the required floor plans. The results of this article demonstrate the efficacy of G-Drawer in creating efficient floor plans. However, in future, we need to work on generating multiple dimensioned floor plans having non-rectangular rooms as well as non-rectangular boundary. These enhancements will address both mathematical and architectural challenges, advancing the automated generation of floor plans toward more practical and versatile applications.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. A plane graph representing CIPs in orange color and STs in green color, with their corresponding floor plans: (a) rectangular floor plan, (b) orthogonal floor plan, and (c) (i) orthogonal floor plan and (ii) irregular floor plan, respectively.

Figure 1

Figure 2. Comparison between G-Drawer, Graph2Plan (Hu et al., 2020), and House-GAN++ (Nauata et al., 2021) on the basis of given adjacencies, the shape of boundary and shapes of rooms.

Figure 2

Figure 3. (a) A plane triangulated graph G, (b) dual graph G* of G, (c) embedding preserved orthogonal drawing (without minimum bends) of G* which is an orthogonal floor plan for G (without minimum bends), and (d) embedding preserved orthogonal drawing (with minimum bends) and an orthogonal floor plan with minimum bends which is obtained by G-Drawer. (e) An orthogonal drawing of G* which is not embedding preserved but with minimum number of bends in general and it is not an orthogonal floor plan of G.

Figure 3

Table 1. Illustration of cases of Theorem 2 with explanatory examples

Figure 4

Figure 4. Types of plane triangulated graphs (PTGs) representing CIPs in orange and STs in green color: (a) properly triangulated plane graph (PTPG), (b) maximal plane graph (MPG), (c) a PTG with no STs and more than four CIPs, (d) a PTG with STs and exterior face of length at least four and no more than 4 CIPs, and (e) a PTG with STs and more than four CIPs.

Figure 5

Figure 5. G-Drawer gave an error if the input graph is (a) not a planar graph, (b) not bi-connected, and (c) not triangular.

Figure 6

Figure 6. A PTPG and its corresponding RFP obtained using G-Drawer.

Figure 7

Figure 7. A PTG and its corresponding OFP with one bend (obtained using G-Drawer) due to (a) CIPs (# CIPs = 5) and (b) STs (# STs = 1).

Figure 8

Figure 8. A PTG with different solutions (a) an OFP, (b) an IFP (staircase FP), and (c) an IFP (L-shaped FP).

Figure 9

Figure 9. A PTG G and its relation with dual graph G* where the blue vertices correspond to the interior faces, while the red vertices correspond to each edge of the exterior face. The green edges represent adjacencies between the interior faces, the pink edges represent adjacencies between the interior faces and the exterior face, and the red edges signify adjacencies within the exterior face.

Figure 10

Figure10. A dual graph G for PTPG G.

Figure 11

Figure 11. (a) A PTG G, (b) a dual graph G* of G, and (c) flow network N of G* where the round blue vertices represent each face of G, the square green vertices represent each vertex of G, the red arcs denote adjacencies between faces and vertices of G, and the blue arcs indicate adjacencies between faces of G.

Figure 12

Figure 12. Mapping of flow value to angle between the adjacent faces.

Figure 13

Figure 13. Flow networks. (a) Min cost flow solution for Nhor. (b) Non feasible solution for Nver. (c) Min cost flow solution for Nver.

Figure 14

Figure 14. Solution obtained from compaction, that is, an OFP corresponding to a PTG given in Figure 11a.

Figure 15

Figure 15. Two floor plans corresponding to the same input graph having the same number of bends and different grid size (area and perimeter).

Figure 16

Figure 16. Two floor plans corresponding to the same input graph having the same number of bends and different grid size.

Figure 17

Figure 17. Different solutions for a PTG (with six CIPs) with specific location of bends.