GraphCenter[g]
gives a list of the vertices of graph
with minimum eccentricity.
GraphCenter
GraphCenter[g]
gives a list of the vertices of graph
with minimum eccentricity.
Details and Options
- GraphCenter functionality is now available in the built-in Wolfram Language function GraphCenter.
- To use GraphCenter, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Examples
Basic Examples (2)
Needs["Combinatorica`"]g = FromUnorderedPairs[{{1, 2}, {2, 3}, {3, 4}, {4, 5}, {1, 5}, {1, 6}}];ShowGraph[g]GraphCenter[g]This function has been superseded by GraphCenter in the Mathematica kernel:
g = Graph[UndirectedEdge@@@{{1, 2}, {2, 3}, {3, 4}, {4, 5}, {1, 5}, {1, 6}}]GraphCenter[g]See Also
Tech Notes
Related Guides
-
▪
- Displaying Graphs ▪
- Graph Algorithms ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), GraphCenter, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/GraphCenter.html.
CMS
Wolfram Language. 2012. "GraphCenter." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/GraphCenter.html.
APA
Wolfram Language. (2012). GraphCenter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/GraphCenter.html
BibTeX
@misc{reference.wolfram_2026_graphcenter, author="Wolfram Research", title="{GraphCenter}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/GraphCenter.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_graphcenter, organization={Wolfram Research}, title={GraphCenter}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/GraphCenter.html}, note=[Accessed: 15-June-2026]}