1.0.0 ā¢ Published 11 months ago
contree v1.0.0
contree
File tree text generation utility
Usage
The GenerateTreeText
function takes a title and tree. The title is a string, while the tree is an array containing either strings (entries) or another array (sub tree).
Example
In this example, the tree is titled "Test Tree"
GenerateTreeText("Test Tree", [
"start",
"a",
["b", "c", "d"],
"e",
"f",
["g", "h", "i", ["j", "k", "l"]],
"end",
]);
šļø Test Tree
āāā start
āāā a
āāā š b
ā āāā c
ā āāā d
āāā e
āāā f
āāā š g
ā āāā h
ā āāā i
ā āāā š j
ā āāā k
ā āāā l
āāā end
1.0.0
11 months ago