Questions tagged [trees]
For questions about tree graphs, or about tree data structures.
150 questions
5
votes
1
answer
379
views
Turning the solution from Reduce to a graph
I am trying to make a graph from an arbitrary solution from reduce so that it looks prettier and is more readable.
My question is very similar to the question How can I make the output of Reduce more ...
1
vote
3
answers
158
views
A cut-off version of TreeForm for expressions
I have a massive expression I want to inspect. I like TreeForm because it renders it nicely, but since the expression is way too large (several 100 MB), I need to ...
2
votes
1
answer
131
views
Searching a Tree with associations
My goal is to get association <|{"Yes",8}|->"likeCandy> by
arriving at leaf "likeCandy", from ...
6
votes
3
answers
384
views
How can I visualize OpenAPI JSON schemas in Mathematica?
Question
I’m working with an OpenAPI JSON schema and want to visualize and understand its structure using Mathematica. For example, given the following schema:
...
5
votes
1
answer
591
views
Why is a head called a head?
The head of an expression
In the Wolfram language / Mathematica, "everything is an expression," to quote a tutorial. I think that every expression has a head. According to the tutorial:
The ...
2
votes
3
answers
489
views
Draw a tree with custom graphics and coordinates
I am trying to make a Mathematica version of the following binary tree:
I want the nodes and lines to be represented by Graphics[] objects (...
1
vote
2
answers
257
views
Draw a probability tree like this
I am trying to draw a probability tree like this
I have never use tree in Mathematica, therefore, I don't know how to start. How can I draw the above tree? I Know that, using Mathematica calculus ...
1
vote
0
answers
62
views
Why does SetOptions[Tree,ImageSize->Tiny] fail for Tree[]
It works for Plot but not for Tree
...
4
votes
1
answer
155
views
Tree edge label visibility and legibility
I am building some tools to help me visualize fitting of generic n-dimensional nonlinear model. I have the data and results stored in a nested association. I've written a few functions to generate a <...
4
votes
1
answer
153
views
ExpressionTree issues
I can't see what I'm doing wrong in the following - I'd like to import some XML as a Tree (for structure visualisation) and convert it to an Association for ...
3
votes
1
answer
120
views
Percent symbol with FontFamily setting looks weird in Dendrogram
Bug introduced in 12.3.1 or earlier, persisting through 13.3.1.
...
6
votes
3
answers
246
views
How can I make the output of Reduce more readable (with a tree)?
Oftentimes, the output of Reduce is quite difficult to read because it has too many && and ...
3
votes
3
answers
504
views
Better way to do such iteration
Consider such an iteration function
...
2
votes
0
answers
129
views
Make Tree output wider?
I use Tree and what I have in the nodes is somewhat larger output (horizontally). That means the nodes are displayed with a lot of overlap. Is there a way to make the "outgoing" edges to the ...
6
votes
1
answer
247
views
How can I make the vertices of a tree graph clickable?
Would it be possible to make the vertices of a tree graph clickable, executing a function when clicked?
Specifically, I am using Mathematica / the Wolfram Language to prototype a modern, microtonal ...