AddVertices
AddVertices[g,n]
adds n disconnected vertices to graph g.
AddVertices[g,vList]
adds vertices in vList to g. vList contains embedding and graphics information and can have the form {x,y} or {{x1,y1},{x2,y2}…} or the form {{{x1,y1},g1},{{x2,y2},g2},…}, where {x,y}, {x1,y1}, and {x2,y2} are point coordinates and g1 and g2 are graphics information associated with vertices.
更多信息和选项
- AddVertices functionality is now available in the built-in Wolfram Language function VertexAdd.
- To use AddVertices, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
文本
Wolfram Research (2012),AddVertices,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html.
CMS
Wolfram 语言. 2012. "AddVertices." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html.
APA
Wolfram 语言. (2012). AddVertices. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html 年