Visualize a tree: Difference between revisions

m
in the code
m (→‎Tree graph: ditto; remove empty lines)
m (in the code)
Line 381:
 
=== Tree graph ===
Make a tree graph. In Mathematica, '''\[DirectedEdge]''' will appear as an arrow in the code.
 
<lang Mathematica>edges = {1 \[DirectedEdge] 2, 1 \[DirectedEdge] 3, 2 \[DirectedEdge] 4, 2 \[DirectedEdge] 5,
Line 396:
 
[[File:syntax.jpg]]
 
 
=== Opener view ===