Skip to content

Go package for pretty-printing tree-like data structures in ASCII and Unicode.

License

Notifications You must be signed in to change notification settings

thediveo/go-asciitree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciitree

Go Reference build and test Go Report Card Coverage

asciitree is a Go package for simple pretty-printing of tree-like data structures using pure ASCII "edges" or alternatively Unicode characters for drawing branches and edges.

root1
├── 1
├── 2
│   ├── 2.1
│   └── 2.2
└── 3
    └── 3.1
root2
└── X

Nodes can optionally be sorted by their labels. In addition, nodes may have properties (these are flat, so no properties of properties). These properties can also optionally be sorted.

Copyright and License

asciitree is Copyright 2018‒2023 Harald Albrecht, and licensed under the Apache License, Version 2.0.

About

Go package for pretty-printing tree-like data structures in ASCII and Unicode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published