A graph metric is the shortest-path metric on the vertex set of a finite connected
graph whose edges have strictly positive lengths.
The distance between two vertices is the minimum sum of the lengths of the edges
along a connecting path . Assigning weight 1 to every
graph edge gives the usual graph
distance .
OpenAI (2026b) proved that a graph metric on a planar graph has an embedding in a real L 1 -space
with absolute metric embedding distortion
bound . After rescaling, the embedding satisfies
for all vertices .
For graphs of bounded treewidth , an analogous bound
depends only on the treewidth (OpenAI 2026a). Toledo independently verified the formalized
planar and bounded-treewidth embedding results.
See also Graph Distance ,
Metric Embedding Distortion ,
Planar Graph ,
Weighted
Graph
Explore with Wolfram|Alpha
References Lück, W. "Survey on Geometric Group Theory." Münster J. Math. 1 , 73-108, 2008. https://arxiv.org/abs/0806.3771 . OpenAI.
"
Embeddings of Graphs of Bounded Treewidth." Sep. 23, 2026a. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/L1-Embeddings-of-Graphs-of-Bounded-Treewidth-September-23-2026/paper.pdf . OpenAI.
"Planar Graph Metrics Embed into with Constant Distortion." Sep. 23, 2026b. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Planar-Graph-Metrics-Embed-into-L1-with-Constant-Distortion-September-23-2026/paper.pdf . Toledo,
C. "OpenAI Math Kernel Certificates." https://github.com/carlostoledo1891/cert-machine/blob/9814e4c06281e34a113ce853d7d99ccce160b750/certs/openai-math-kernel.json .
Cite this as:
Weisstein, Eric W. "Graph Metric." From
MathWorld --A Wolfram Resource. https://mathworld.wolfram.com/GraphMetric.html
Subject classifications