Combinatorica`
Combinatorica`

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.

SpringEmbedding[g,step,increment]

can be used to refine the algorithm.

Details and Options

  • SpringEmbedding functionality is now available in the built-in Wolfram Language function GraphLayout.
  • To use SpringEmbedding, 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.
Wolfram Research (2012), SpringEmbedding, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html.

Text

Wolfram Research (2012), SpringEmbedding, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html.

CMS

Wolfram Language. 2012. "SpringEmbedding." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html.

APA

Wolfram Language. (2012). SpringEmbedding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html

BibTeX

@misc{reference.wolfram_2024_springembedding, author="Wolfram Research", title="{SpringEmbedding}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html}", note=[Accessed: 12-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_springembedding, organization={Wolfram Research}, title={SpringEmbedding}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/SpringEmbedding.html}, note=[Accessed: 12-December-2024 ]}