RosettaCodeData/Task/Visualize-a-tree/00DESCRIPTION

19 lines
701 B
Plaintext

A tree structure   (i.e. a rooted, connected acyclic graph)   is often used in programming.
It's often helpful to visually examine such a structure.
There are many ways to represent trees to a reader, such as:
:::* &nbsp; indented text &nbsp; (à la unix <code> tree </code> command)
:::* &nbsp; nested HTML tables
:::* &nbsp; hierarchical GUI widgets
:::* &nbsp; 2D &nbsp; or &nbsp; 3D &nbsp; images
:::* &nbsp; etc.
;Task:
Write a program to produce a visual representation of some tree.
The content of the tree doesn't matter, nor does the output format, the only requirement being that the output is human friendly.
Make do with the vague term "friendly" the best you can.
<br><br>