extraction of boundary of sysml diagrams