bintreeviz v0.1.1 Bintreeviz.Positioner.WS View Source

Module to do the positioning following the WS algorithm. As described in the original paper, this algorithm works with two loops to keep the algorithm performing in O(N).

Link to this section Summary

Functions

position/1 takes the root node and positions it and all its child nodes accordingly

Link to this section Functions

position/1 takes the root node and positions it and all its child nodes accordingly