Skip to content

Instantly share code, notes, and snippets.

View loursblancgithub's full-sized avatar
✈️
Flight jokes are just plane wrong

un_ours_blanc loursblancgithub

✈️
Flight jokes are just plane wrong
View GitHub Profile
@GeorgeHernandez
GeorgeHernandez / TreeCharacters.md
Last active January 5, 2026 08:55
Characters used to represent trees like directories and files.

Tree Characters

No, I'm not talking about Treebeard. Rather, I'm talking about characters that can be used to represent tree structures, especially directories and files in directory structures.

In graph theory, a tree graph a tree is an undirected graph in which any two vertices (nodes like directories and files) are connected by exactly one (1..1) path, or equivalently a connnected acyclic undirected graph. The connections are edges (aka links or lines).

The examples below will represent the following tree (listed in alphabetical order):

root/