Create dynamically elements at random position, Connected them through a line and place anywhere you want.