updated code of the visual tools libraries for 1d/2d timeline graphs