SpringEmbedding

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


can be used to refine the algorithm.

更多信息更多信息

  • 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.
New to Mathematica? Find your learning path »
Have a question? Ask support »