.getTransResource(), true);
}
if (transition.getParent() instanceof GroupModel) {
GroupModel group = (GroupModel) transition.getParent();
TransitionResourceModel transResourceModell = ((PetriNetModelProcessor) getModelProcessor())
.newTransResource(map);
transResourceModell.setPosition(map.getResourcePosition().x,
map.getResourcePosition().y);
ParentMap pm = new ParentMap();
pm.addEntry(transResourceModell, group);
HashMap<GroupModel, AttributeMap> hm = new HashMap<GroupModel, AttributeMap>();
hm.put(group, group.getAttributes());