ogma.transformations.addNodeFilter((node) => node.getData('country') === 'France');
ogma.transformations.addNodeGrouping({
selector: (node) => node.getData('type'),
groupIdFunction:(node) => node.getData('type'),
nodeGenerator: (nodes, groupId) => ({
id: "group_"+ groupId,
data: {...},
attributes: {...},
})
})