graph drawing tool
First_available_id = 1