This document discusses the application of generalized metric spaces and metric dimension in graph theory, specifically focusing on optimization and network navigation. It introduces a real-valued function to study the metric dimension of graphs and establishes that this dimension remains constant when certain edges are added. The paper also reviews various definitions, theorems, and previous studies related to metric dimensions in graph theory.