ExpressionGraph[expr]
gives the tree graph with different levels at different depths.
ExpressionGraph[expr,n]
gives the tree graph only down to level n.
ExpressionGraph[expr,n,form]
gives a tree graph in which subexpressions that match form are leaves.
Details and Options
Examples
Basic Examples
Scope
Options
AnnotationRules
DirectedEdges
EdgeLabels
EdgeShapeFunction
EdgeStyle
EdgeWeight
GraphHighlight
GraphHighlightStyle
GraphLayout
PlotTheme
Base themes
Feature themes
VertexCoordinates
VertexLabels
VertexShape
VertexShapeFunction
VertexSize
VertexStyle
VertexWeight
Applications
Properties & Relations
Possible Issues
Neat Examples
See Also
Related Guides
History
Cite this Page
ExpressionGraph
ExpressionGraph[expr]
gives the tree graph with different levels at different depths.
ExpressionGraph[expr,n]
gives the tree graph only down to level n.
ExpressionGraph[expr,n,form]
gives a tree graph in which subexpressions that match form are leaves.
Details and Options
- ExpressionGraph generates a Graph object.
- ExpressionGraph is typically used to generate expression trees from Wolfram Language expressions.
- ExpressionGraph[expr] gives a tree graph with vertices {1,2,…} and "Subexpression" annotations for each vertex.
- ExpressionGraph takes the same options as Graph, with the following change: [List of all options]
-
FormatType StandardForm format type to use for vertex and edge labels -
AlignmentPoint Center the default point in the graphic to align with AnnotationRules {} annotations for graph, edges and vertices AspectRatio Automatic ratio of height to width Axes False whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool DirectedEdges Automatic whether to interpret Rule as DirectedEdge EdgeLabels None labels and label placements for edges EdgeLabelStyle Automatic style to use for edge labels EdgeShapeFunction Automatic generate graphic shapes for edges EdgeStyle Automatic style used for edges EdgeWeight Automatic weights for edges Epilog {} primitives rendered after the main plot FormatType StandardForm format type to use for vertex and edge labels Frame False whether to put a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame ticks FrameTicksStyle {} style specifications for frame ticks GraphHighlight {} graph elements to highlight GraphHighlightStyle Automatic style for highlight GraphLayout Automatic how to lay out vertices and edges GridLines None grid lines to draw
List of all options