imixs / open-bpmn

BPMN Modeler based on Eclipse Graphical Language Server Platform
https://www.open-bpmn.org
Other
67 stars 11 forks source link

Integrate new standard Alignment helper lines #315

Closed rsoika closed 7 months ago

rsoika commented 9 months ago

Integrate the new GLSP Standard Feature for Alignment helper lines and remove the current custom impl

See :

rsoika commented 8 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);

}