Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Latest commit

 

History

History
73 lines (52 loc) · 2.62 KB

graph-validation.md

File metadata and controls

73 lines (52 loc) · 2.62 KB

Graph validation

A Tiling instance that represents a valid tessellation is a graph with the following properties:

  • all nodes connected to at least 2 other nodes (degree >= 2) - otherwise, a node of degree 0 would represent an external point and a node of degree 1 an open polygon

1-degree node

Invalid since node 4 has degree 1

  • all nodes connected to at most 6 other nodes (degree <= 6) - otherwise, a node would have > 6 adjacent polygons (impossible since the polygon with the smaller exterior angle, the regular triangle, fills the full angle with 6 units)

7-degree node 7-degree node as standard graph

Invalid since node 1 has degree 7

  • the graph is connected

disconnected graph

Invalid since nodes 1, 2, 3 are not connected to nodes 4, 5, 6

  • there exist no adjacent polygons at the same vertex

non adjacent p-gons at the same vertex

Invalid due to polygons at node 2

  • there exist no adjacent polygons at the same vertex making more than a full circle

more than full circle at the same vertex more than full circle at the same vertex as standard graph

Invalid due to three squares and a regular pentagon at node 3 that make more than a full circle

area overlapping1 area overlapping1 as standard graph

Invalid due to overlapping squares and a regular pentagon at node 3

  • there exist no overlapping areas

area overlapping2 area overlapping2 as standard graph

Invalid due to overlapping area

area overlapping3 area overlapping3 as standard graph

Invalid due to overlapping area and sides: edges 2~5 with 21~19 and 3~6 with 22~17

  • there exist no overlapping sides

side overlapping side overlapping as standard graph

Invalid due to the overlapping sides 2~5 and 24~19

  • there exist no overlapping vertices

vertex overlapping vertex overlapping as standard graph

Invalid due to the overlapping vertexes 6 and 15

  • there exist no "inside gaps", they would be considered non-regular unit polygons

gap gap as standard graph

Invalid due to a gap