Object symbolGroup = engine.getModel().createNode("group"); Object symbolNode = engine.getModel().createNode("symbol"); engine.getModel().addObject(symbolGroup, null, null);//Add the group itself. engine.getModel().addObject(symbolNode, symbolGroup, null);//Add the symbol to the group