change dummy tree, implement drawing of edges