ToCombinatoricaGraph[g]
returns the Combinatorica representation of the graph g.
ToCombinatoricaGraph[g,n]
returns the graph g, adding additional unconnected vertices, if necessary, to create a graph with n vertices.
ToCombinatoricaGraph
ToCombinatoricaGraph[g]
returns the Combinatorica representation of the graph g.
ToCombinatoricaGraph[g,n]
returns the graph g, adding additional unconnected vertices, if necessary, to create a graph with n vertices.
更多信息和选项
- To use ToCombinatoricaGraph, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- The following option can be given:
-
Method Automatic method used to lay out the graph
范例
基本范例 (2)
Needs["GraphUtilities`"]g = {a -> b, b -> c, c -> d, d -> e, e -> f, f -> a, i -> k, k -> h, h -> i, k -> a, k -> b, h -> c, h -> d, i -> f, i -> e};This shows the Combinatorica object:
ShowGraph[ToCombinatoricaGraph[g]]Use Graph to build graphs specified by a rule list:
Graph[{a -> b, b -> c, c -> d, d -> e, e -> f, f -> a, i -> k, k -> h, h -> i, k -> a, k -> b, h -> c, h -> d, i -> f, i -> e}]相关指南
-
▪
- Graph Utilities Package ▪
- 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
文本
Wolfram Research (2007),ToCombinatoricaGraph,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/ToCombinatoricaGraph.html.
CMS
Wolfram 语言. 2007. "ToCombinatoricaGraph." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/ToCombinatoricaGraph.html.
APA
Wolfram 语言. (2007). ToCombinatoricaGraph. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GraphUtilities/ref/ToCombinatoricaGraph.html 年
BibTeX
@misc{reference.wolfram_2026_tocombinatoricagraph, author="Wolfram Research", title="{ToCombinatoricaGraph}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/ToCombinatoricaGraph.html}", note=[Accessed: 10-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_tocombinatoricagraph, organization={Wolfram Research}, title={ToCombinatoricaGraph}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/ToCombinatoricaGraph.html}, note=[Accessed: 10-August-2026]}