graph drawing with depth = 1. using visjs