Combinatorica`
Combinatorica`
MakeGraph
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
MakeGraph[v,f]
constructs the graph with vertices corresponding to v and edges between all pairs of vertices and in v for which the binary relation defined by the Boolean function f is True.
Details and Options
- To use MakeGraph, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- MakeGraph takes two options, Type and VertexLabel.
- Type can be set to Directed or Undirected, and this tells MakeGraph whether to construct a directed or an undirected graph. The default setting is Directed.
- VertexLabel can be set to True or False, with False being the default setting. Using VertexLabel->True assigns labels derived from v to the vertices of the graph.
Wolfram Research (2012), MakeGraph, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
Text
Wolfram Research (2012), MakeGraph, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
CMS
Wolfram Language. 2012. "MakeGraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
APA
Wolfram Language. (2012). MakeGraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html