Add tree graph