Revert "Revert visualizeRevTree (wrong branch)"

This reverts commit 2c41c1de305165a8b96480f631957efe12a79343.