Closed rsoika closed 7 months ago
Implementation example:
bind(TYPES.ISnapper).toConstantValue(new BPMNElementSnapper());
bind<IHelperLineOptions>(TYPES.IHelperLineOptions).toConstantValue({
alignmentElementFilter: element =>
isBPMNNode(element),
minimumMoveDelta: { x: 10, y: 10 }
});
....
export function initializeBPMNDiagramContainer(container: Container,
...containerConfiguration: ContainerConfiguration): Container {
return initializeDiagramContainer(container, bpmnDiagramModule, bpmnHelperLineModule, BPMNPropertyModule, ...containerConfiguration);
}
Integrate the new GLSP Standard Feature for Alignment helper lines and remove the current custom impl
See :