Combinatorica`
Combinatorica`

TranslateVertices

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

TranslateVertices[v,{x,y}]

adds the vector {x,y} to the vertex embedding location of each vertex in list v.

TranslateVertices[g,{x,y}]

translates the embedding of the graph g by the vector {x,y}.

更多信息和选项