Naive Rooted Tree Drawing Algorithm
- Python 100%
| images | Simplified fixCoord | |
| .gitignore | Simplified fixCoord | |
| example.py | Remake find duplicate coord in fixCoord | |
| LICENSE | Initial commit | |
| README.md | Simplified fixCoord | |
| tdcore.py | Remake find duplicate coord in fixCoord | |
treedrawing
Naive Rooted Tree Drawing Algorithm
The objective is simple. From this . . .
. . . to this!
Of course, the tree data above is just an example. Input tree can be a "pointer" to database, spreadsheet, etc.
This is written in Python and parts of the algorithm are recursive. Hence, expect the performance to be slower and memory-intensive for larger trees.
Algorithm Description
https://github.com/poypoyan/matematex/blob/main/files/treedrawing.pdf
Installation & Tutorial
- Just download the ZIP for this repository, extract to a folder.
- Just run
python example.py(Windows) orpython3 example.py(Lunix) in your terminal. - The
example.pycontains information on how to usetdcore.py.
Found a bug? Suggest a feature? Please post on issues.