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 to the vertex embedding location of each vertex in list .
TranslateVertices[g,{x,y}]
translates the embedding of the graph by the vector .
Details and Options
- TranslateVertices functionality is now available in the built-in Wolfram Language function VertexCoordinates.
- To use TranslateVertices, you first need to load the Combinatorica Package using Needs["Combinatorica`"].