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.


MakeGraph
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.
See Also
Tech Notes
Related Guides
-
▪
- Combinatorica Package ▪
- Constructing Graphs ▪
- Graph Construction and Representations ▪
- 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), 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
BibTeX
@misc{reference.wolfram_2025_makegraph, author="Wolfram Research", title="{MakeGraph}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_makegraph, organization={Wolfram Research}, title={MakeGraph}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html}, note=[Accessed: 13-August-2025]}