Improve layout if structure diagram