Layout of composant diagram