implement margins draw on OSATE Graphical Editor diagrams