adapted to jBoss
elimination methods in DiagramHelper
-DiagramHelper class