# 图嵌入

图嵌入是将图放置在曲面上的方式，其中顶点是互不相同的点，边是只在共同端点处相交的曲线，从而任意两条边都不交叉。在拓扑图论——研究此类放置的数学分支——中，核心问题是给定图能嵌入哪些曲面，以及能嵌入的曲面与图的结构有何关系<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/jgt.3190020402)</sup>。该术语在机器学习中也用于另一种构造，即将节点或整图映射为学习得到的向量表示<sup>[2](https://www.sciencedirect.com/science/article/abs/pii/S0950705118301540)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 图在曲面中的嵌入是一种无交叉或其他自交的绘制<sup>[3](https://people.math.binghamton.edu/zaslav/Oldcourses/381.S13/ann.html)</sup> |
| 欧拉公式 | 对于连通图在闭曲面 s 上的 2-胞腔嵌入，若顶点数为 v、边数为 e、区域数为 r，则 v − e + r = χ(s)，其中 χ(s) 是 s 的欧拉示性数<sup>[4](https://scholarworks.sjsu.edu/faculty_rsca/6279/)</sup> |
| 组合编码 | 连通图的胞腔嵌入由其旋转系统唯一确定，旋转系统是一个纯组合对象<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup> |
| 复杂性 | 亏格问题的判定版本——询问 G 是否可嵌入给定亏格的曲面——是 NP 完全的（托马森，1989）<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup> |
| 固定曲面算法 | 对每个固定曲面 S，存在线性时间算法，要么将 G 嵌入 S，要么返回 S 的库拉托夫斯基图的一个细分（莫哈，1999）<sup>[6](https://users.fmf.uni-lj.si/mohar/Algorithms.html)</sup> |
| 平面情形 | 球面或平面上的可嵌入性可在 O(n) 时间内判定，且无自环且无重边的平面图可在 O(n) 时间内用直线段嵌入<sup>[7](https://arxiv.org/abs/1702.05358)</sup> |
| 历史里程碑 | 林格尔与扬斯于 1968 年通过计算完全图的亏格完成了希伍德猜想的证明<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/jgt.3190020402)</sup> |

## 嵌入与面

将图嵌入曲面意味着在该曲面上绘制它而不产生交叉或任何其他自交<sup>[3](https://people.math.binghamton.edu/zaslav/Oldcourses/381.S13/ann.html)</sup>。嵌入图在曲面中的补集分解为连通分支，称为面或区域；当每个面都同胚于开圆盘时，该嵌入是**胞腔嵌入**，或称 2-胞腔嵌入<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。胞腔嵌入是本领域计数公式直接适用的嵌入，而最小可能亏格曲面上的嵌入总是胞腔嵌入<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。

对于胞腔嵌入闭曲面的连通图，欧拉公式关联各项计数：设顶点数为 v、边数为 e、面数为 r，则 v − e + r = χ(s)，其中 χ(s) 是曲面的欧拉示性数<sup>[4](https://scholarworks.sjsu.edu/faculty_rsca/6279/)</sup>。2025 年的一项推广将欧拉型公式扩展到任意图（无论连通与否）到任意曲面（可定向与否）的任意嵌入（无论是否为 2-胞腔）；一个推论是逆命题：若嵌入恰有 r = e − v + χ(s) 个区域——即 2-胞腔嵌入应有的数目——则该嵌入本身必为 2-胞腔嵌入<sup>[4](https://scholarworks.sjsu.edu/faculty_rsca/6279/)</sup>。

## 旋转系统

旋转系统记录每个顶点处边端绕该顶点在嵌入中的循环顺序<sup>[8](https://people.math.binghamton.edu/zaslav/Oldcourses/581.S99/notes.html)</sup>。对于可定向曲面中的嵌入，仅此循环数据就决定了嵌入：连通图的胞腔嵌入由其旋转系统唯一确定，这正是本学科将嵌入视为纯组合对象、从而可提出计算问题的原因<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup>。旋转系统完全确定胞腔嵌入的顶点、边和面，因而通过欧拉示性数也确定曲面的亏格<sup>[9](https://mathworld.wolfram.com/RotationSystem.html)</sup>。对于不可定向曲面，旋转系统需补充边符号，构成嵌入方案<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup>。

1968 年林格尔与扬斯完成希伍德猜想的证明后，这一工具成为该领域的核心；他们的证明强化了旋转系统的重要性，而堪萨斯大学数学家索尔·斯塔尔 1978 年的综述主张，旋转系统连同广义嵌入方案应成为所有图嵌入研究的主要工具<sup>[1](https://onlinelibrary.wiley.com/doi/abs/10.1002/jgt.3190020402)</sup>。

## 亏格与希伍德问题

图 G 的亏格 γ(G) 是使 G 能嵌入亏格为 n 的可定向闭曲面的最小 n<sup>[10](https://tgt.ynu.ac.jp/tgt/topgrphj.pdf)</sup>。确定此最小值即亏格问题，被加里与约翰逊列为基础困难问题之一；其判定版本是 NP 完全的，由卡斯滕·托马森证明<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup>。任何有 n 个顶点和 m 条边的图都可胞腔嵌入某个亏格为 O(n) 的可定向曲面，因此该参数总是有限的<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。

曲面图嵌入的研究由珀西·希伍德发起，他在指出肯普四色定理证明缺陷的同一篇论文中，提出了对嵌入曲面的图进行顶点正常着色所需最少颜色数的问题<sup>[11](https://jeffe.cs.illinois.edu/teaching/comptop/2017/notes/combinatorial-surfaces.pdf)</sup>。至 19 世纪末，希伍德与赫夫特的工作将图绘制研究从平面扩展到更高阶曲面<sup>[12](https://www.cambridge.org/core/books/abs/topics-in-topological-graph-theory/embedding-graphs-on-surfaces/0B544DF28863D3E9A1D0CDE255DFB072)</sup>。希伍德的地图着色问题——确定最小数 H(S)，使曲面 S 上每幅地图都可用 H(S) 种颜色着色且相邻国家不同色——归结为判定哪些完全图可嵌入 S<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup>。因此林格尔与扬斯 1968 年获得的解需要计算完全图的亏格<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup>。综述文献将球面视为该纲领的四色定理情形，并记录了地图着色公式中的克莱因瓶例外<sup>[13](https://ikprress.org/index.php/AJOMCOR/article/view/11095)</sup>。

最大亏格——图能胞腔嵌入的曲面的最大亏格——比最小亏格更易理解，可在多项式时间内确定，与 NP 完全的最小亏格问题形成对比<sup>[5](https://www.sfu.ca/~mohar/Book/Ch4.html)</sup><sup> • </sup><sup>[7](https://arxiv.org/abs/1702.05358)</sup>。

## 平面性与结构刻画

平面与球面是基础情形。当图可嵌入平面时称为平面图，对于组合复杂度为 n 的图，平面性可在 O(n) 时间内检验<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。综述文献将此与惠特尼、麦克莱恩和瓦格纳的定理并列为平面性的经典结构刻画，并将细分与图子式视为欧拉型论证所给数值限制的结构对应物<sup>[13](https://ikprress.org/index.php/AJOMCOR/article/view/11095)</sup>。

库拉托夫斯基型障碍可推广到平面之外。在任何固定曲面 S 上，莫哈 1999 年发表的线性时间算法对给定图 G，若存在嵌入则产生其在 S 中的嵌入，否则输出 G 的一个子图，该子图细分了 S 的库拉托夫斯基图之一<sup>[6](https://users.fmf.uni-lj.si/mohar/Algorithms.html)</sup>。对于图 G 和欧拉亏格为 ḡ 的固定曲面 S，判定可嵌入性一般是 NP 困难的，但可在 2^{poly(ḡ)} · n 时间内完成，当 ḡ 固定时为线性<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。对每个固定欧拉亏格，判定问题甚至可在输入规模对数空间内求解<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。

## 相关嵌入概念

若干相关参数衡量图离干净嵌入有多远。交叉数 cr(G) 是 G 在平面上绘制中的最小交叉数，是拓扑图论中最流行的不变量之一，尽管确定其精确值一般很困难<sup>[10](https://tgt.ynu.ac.jp/tgt/topgrphj.pdf)</sup>。交叉数概念不止一个，而是一大类，其中标准交叉数最为人所知<sup>[14](https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS21/0)</sup>。

书籍嵌入将所有顶点沿书脊排列，并将边布置到页上，使同页边不相交；所需最少页数称为页数或书厚，确定它是 NP 困难的<sup>[15](https://journal.hep.com.cn/fmc/EN/10.1007/s11464-022-1010-5)</sup>。书籍嵌入出现在超大规模集成电路设计和多层印刷电路板布线等应用中<sup>[15](https://journal.hep.com.cn/fmc/EN/10.1007/s11464-022-1010-5)</sup>。

嵌入在另一方面也有回报：一旦图嵌入固定曲面，许多标准图问题可更快求解。嵌入亏格 g 曲面的 n 顶点图具有大小 O(√(gn)) 的平衡分隔符，可在线性时间内计算，其树宽为 O(√(gn))<sup>[7](https://arxiv.org/abs/1702.05358)</sup>。

## 机器学习中的含义

在机器学习中，图嵌入指另一对象：将节点、边或整图映射到低维向量空间，嵌入向量用作下游模型的输入特征，参数从训练数据学习<sup>[2](https://www.sciencedirect.com/science/article/abs/pii/S0950705118301540)</sup>。此类用法的综述在常见数据集上评估技术并比较跨任务性能，指出维数选择可因应用而异；当模型仅捕获节点间局部连接时，较低维数可能提高链路预测精度<sup>[2](https://www.sciencedirect.com/science/article/abs/pii/S0950705118301540)</sup>。此含义与拓扑含义仅共享词语：它涉及学习得到的数值表示，而非曲面上的绘制。

## References

1. [Saul Stahl (1978). The embeddings of a graph—A survey. Journal of Graph Theory 2(4): 275–298.](https://onlinelibrary.wiley.com/doi/abs/10.1002/jgt.3190020402)
2. [Graph Embedding Techniques, Applications, and Performance: A Survey. Knowledge-Based Systems / ScienceDirect.](https://www.sciencedirect.com/science/article/abs/pii/S0950705118301540)
3. [Graph Theory Announcements (Spring 2013), Binghamton University course notes.](https://people.math.binghamton.edu/zaslav/Oldcourses/381.S13/ann.html)
4. [Doug Bauer, Linda Lesniak, and Edward Schmeichel (2025). Euler's Formula for General Graph Embeddings. Springer Proceedings in Mathematics and Statistics 489: 189–195.](https://scholarworks.sjsu.edu/faculty_rsca/6279/)
5. [Bojan Mohar. Graphs on Surfaces, Chapter 4: Embeddings combinatorially, contractibility of cycles, and the genus problem.](https://www.sfu.ca/~mohar/Book/Ch4.html)
6. [Bojan Mohar. Algorithms for embedding graphs in surfaces.](https://users.fmf.uni-lj.si/mohar/Algorithms.html)
7. [Éric Colin de Verdière (2017). Computational topology of graphs on surfaces. arXiv:1702.05358.](https://arxiv.org/abs/1702.05358)
8. [Notes for Graduate Graph Theory, Binghamton University.](https://people.math.binghamton.edu/zaslav/Oldcourses/581.S99/notes.html)
9. [Rotation System. Wolfram MathWorld.](https://mathworld.wolfram.com/RotationSystem.html)
10. [Topological Graph Theory from Japan.](https://tgt.ynu.ac.jp/tgt/topgrphj.pdf)
11. [Jeff Erickson. Computational Topology, Surfaces notes.](https://jeffe.cs.illinois.edu/teaching/comptop/2017/notes/combinatorial-surfaces.pdf)
12. [Embedding graphs on surfaces, Chapter 1 of Topics in Topological Graph Theory. Cambridge University Press.](https://www.cambridge.org/core/books/abs/topics-in-topological-graph-theory/embedding-graphs-on-surfaces/0B544DF28863D3E9A1D0CDE255DFB072)
13. [Ghadeer Khudhair Obayes and Karrar Khudhair Obayes (2026). Graph Embeddings on Surfaces: A Classical Review of Topological Graph Theory. Asian Journal of Mathematics and Computer Research 33(4): 20–36.](https://ikprress.org/index.php/AJOMCOR/article/view/11095)
14. [Marcus Schaefer (2013). The Graph Crossing Number and its Variants: A Survey. The Electronic Journal of Combinatorics, Dynamic Survey DS21.](https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS21/0)
15. [Xiaxia Guan, Chuxiong Wu, Weihua Yang, and Jixiang Meng (2022). A survey on book-embedding of planar graphs. Frontiers of Mathematics in China 17(2): 255–273.](https://journal.hep.com.cn/fmc/EN/10.1007/s11464-022-1010-5)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Graph theory subfields and named results › Topological graph theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/graph-embedding

English original: https://www.edgepedia.org/graph-embedding
