| Modifier and Type | Field and Description |
|---|---|
static TreeStyle |
ASCII
A tree style made purely of ASCII characters, for maximum portability.
|
static TreeStyle |
ASCII_ROUNDED
Same as the
ASCII tree style, but with nice rounded-off corners. |
static TreeStyle |
NPM6
Similar to the
ASCII_ROUNDED style, this is modified with a smaller indent to look just like the
trees drawn by the Node Package Manager (NPM) in its version 6.x. |
static TreeStyle |
UNICODE
A tree style made of Unicode line drawing characters.
|
static TreeStyle |
UNICODE_ROUNDED
Same as the
UNICODE tree style, but with nice rounded-off corners. |
static TreeStyle |
WIN_TREE
Similar to the
UNICODE tree style, but without padding, just like what the Windows tree
command produces (at least on Windows 10). |
public static final TreeStyle ASCII
sample tree +--- node | +--- another node | \--- node <CYCLE> \--- last node
public static final TreeStyle ASCII_ROUNDED
ASCII tree style, but with nice rounded-off corners.
sample tree +--- node | +--- another node | `--- node <CYCLE> `--- last node
public static final TreeStyle NPM6
ASCII_ROUNDED style, this is modified with a smaller indent to look just like the
trees drawn by the Node Package Manager (NPM) in its version 6.x.
sample tree +-- node | +-- another node | `-- node <CYCLE> `-- last node
public static final TreeStyle UNICODE
sample tree ├─── node │ ├─── another node │ └─── node ‹CYCLE› └─── last node
public static final TreeStyle UNICODE_ROUNDED
UNICODE tree style, but with nice rounded-off corners.
sample tree ├─── node │ ├─── another node │ ╰─── node ‹CYCLE› ╰─── last node
public static final TreeStyle WIN_TREE
UNICODE tree style, but without padding, just like what the Windows tree
command produces (at least on Windows 10).
sample tree ├───node │ ├───another node │ └───node <CYCLE> └───last node