> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/mininet_book/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/mininet_book/module_topo.md).

# mininet.topo 模块

维护网络拓扑相关的信息。

除了一些固定结构的拓扑类之外，还提供了 mininet.topolib 模块，提供用户自己创建复杂拓扑相关的库，目前仅包括一个 mininet.topolib.TreeTopo 拓扑，是个树拓扑类，给定深度和广度可以自己生成相应的标准树拓扑。
