Law of Uniform Connectedness
Elements that are visually connected are perceived as more related than elements with no connection.
Group functions of a similar nature so they are visually connected via colors, lines, frames, or other shapes.
The principles of grouping (or Gestalt laws of grouping) are a set of principles in psychology, first proposed by Gestalt psychologists to account for the observation that humans naturally perceive objects as organised patterns and objects, a principle known as Prägnanz. Gestalt psychologists argued that these principles exist because the mind has an innate disposition to perceive patterns in the stimulus based on certain rules.
These principles are organised into five categories: Proximity, Similarity, Continuity, Closure, and Connectedness.