constructor layout take diagram input extract layout object layout param diagram diagram layout classdiagram layout argo diagram diagram diagram diagram fig fig diagram layer content fig enclos fig add classdiagram model element factori singleton instanc fig 