Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate new standard Alignment helper lines #315

Closed
rsoika opened this issue Dec 15, 2023 · 1 comment
Closed

Integrate new standard Alignment helper lines #315

rsoika opened this issue Dec 15, 2023 · 1 comment
Labels
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Dec 15, 2023

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

See :

@rsoika rsoika added the feature label Dec 15, 2023
@rsoika rsoika added this to the 1.2.0 milestone Dec 15, 2023
rsoika added a commit that referenced this issue Jan 11, 2024
rsoika added a commit that referenced this issue Jan 17, 2024
@rsoika
Copy link
Member Author

rsoika commented Jan 17, 2024

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);
  
}

rsoika added a commit that referenced this issue Jan 18, 2024
@rsoika rsoika closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant