ShowGraph[g]
displays the graph g.
ShowGraph[g,Directed]
is obsolete and it is currently identical to ShowGraph[g].


ShowGraph
ShowGraph[g]
displays the graph g.
ShowGraph[g,Directed]
is obsolete and it is currently identical to ShowGraph[g].
Details and Options
- ShowGraph functionality is now available in the built-in Wolfram Language function Graph.
- To use ShowGraph, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- All options that affect the look of a graph can be specified as options in ShowGraph.
- The list of options are: VertexColor, VertexStyle, VertexNumber, VertexNumberColor, VertexNumberPosition, VertexLabel, VertexLabelColor, VertexLabelPosition, EdgeColor, EdgeStyle, EdgeLabel, EdgeLabelColor, EdgeLabelPosition, LoopPosition, and EdgeDirection.
- In addition, options of the Wolfram Language function Plot and options of the graphics primitive Arrow can also be specified here.
- If an option specified in ShowGraph differs from options explicitly set within a graph object, then options specified inside the graph object are used.
See Also
Tech Notes
Related Guides
-
▪
- Combinatorica Package ▪
- Displaying 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), ShowGraph, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ShowGraph.html.
CMS
Wolfram Language. 2012. "ShowGraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ShowGraph.html.
APA
Wolfram Language. (2012). ShowGraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/ShowGraph.html
BibTeX
@misc{reference.wolfram_2025_showgraph, author="Wolfram Research", title="{ShowGraph}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/ShowGraph.html}", note=[Accessed: 09-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_showgraph, organization={Wolfram Research}, title={ShowGraph}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/ShowGraph.html}, note=[Accessed: 09-August-2025]}