Visualize a tree: Difference between revisions

no edit summary
No edit summary
Line 2,545:
-- " b1"
</pre>
 
=={{header|Maple}}==
<lang Maple> T := GraphTheory:-Graph([1, 2, 3, 4, 5], {{1, 2}, {2, 3}, {2, 4}, {4, 5}}):
GraphTheory:-DrawGraph(T, style = tree);</lang>
 
=={{header|Mathematica}}==
Anonymous user