SetVertexLabels[g,l]
assigns the labels in l to vertices of g.
SetVertexLabels
SetVertexLabels[g,l]
assigns the labels in l to vertices of g.
更多信息和选项
- SetVertexLabels functionality is now available in the built-in Wolfram Language function VertexLabels.
- To use SetVertexLabels, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- If l is shorter than the number of vertices in g, then labels get assigned cyclically.
- If l is longer than the number of vertices in g, then the extra labels are ignored.
相关指南
-
▪
- Displaying Graphs ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
文本
Wolfram Research (2012),SetVertexLabels,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/SetVertexLabels.html.
CMS
Wolfram 语言. 2012. "SetVertexLabels." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/SetVertexLabels.html.
APA
Wolfram 语言. (2012). SetVertexLabels. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/SetVertexLabels.html 年
BibTeX
@misc{reference.wolfram_2025_setvertexlabels, author="Wolfram Research", title="{SetVertexLabels}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/SetVertexLabels.html}", note=[Accessed: 30-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_setvertexlabels, organization={Wolfram Research}, title={SetVertexLabels}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/SetVertexLabels.html}, note=[Accessed: 30-April-2026]}