draw structure diagram