SpringEmbedding

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

SpringEmbedding[g]
beautifies the embedding of graph g by modeling the embedding as a system of springs.


can be used to refine the algorithm.

DetailsDetails

  • SpringEmbedding functionality is now available in the built-in Wolfram Language function GraphLayout.
  • To use , you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • The value of step tells the function how many iterations to run the algorithm. The value of increment tells the function the distance to move the vertices at each step. The default values are 10 and 0.15 for step and increment, respectively.