X = np.concatenate([np.random.randn(3, 10), np.random.randn(2, 10) + 100])
w = ward_tree(X)
ii = itertools.count(w[2])
[{'node_id': next(ii), 'left': x[0], 'right': x[1]} for x in w[0]]
How do you visualize a ward tree from sklearn.cluster.ward_tree?