The Reingold Tilford Algorithm Explained, with Walkthrough

Algorithm to Plot Tree Nodes with Numerical Examples and Python Code

Kay Jan Wong
Towards Data Science
9 min readSep 12, 2023

--

Photo by Sergiu Vălenaș on Unsplash
Photo by Sergiu Vălenaș on Unsplash

Introduction

The 1981 Reingold-Tilford algorithm creates a visually pleasing representation of hierarchical data by arranging nodes in a tree structure to maximize readability. In other words, it is an algorithm for…

--

--

Data Scientist, Machine Learning Engineer, Software Developer, Programmer | Someone who loves coding, and believes coding should make our lives easier