Skip to content

Spatial graph ​

Definition ​

The spatial graph describes the shape of spaces, as well as their adjacency and connectivity. Edge elements and boundary elements reference edges.

Planar graph ​

spatial-graph

Under the hood the spatial graph leverages the concept of a planar graph. A graph with nodes and edges where the nodes have positions and therefore a loop of edges creates a face. Adopted to spatial data the graph face is a space and the edge is a wall.

Adjacency ​

adjacency-graph

The direct result of two spaces sharing the same edge is that they are adjacent. This requires no further computation and is always the ground truth.

Connectivity ​

connectivity-graph

Connectivity of spaces is defined by taking adjacency and the element that references the edge into account. If an edge is simply a space divider or a wall with a door opening is on that edge the spaces on each sides of the edge are connected.