Skip to content

Commit

Permalink
test helper lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Jan 14, 2024
1 parent 879463c commit 2190ed0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions open-bpmn.glsp-client/open-bpmn-glsp/src/di.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ import {
RectangularNodeView,
RoundedCornerNodeView,
TYPES,
alignmentElementFilter,
configureDefaultModelElements,
configureModelElement,
editLabelFeature,
helperLineModule,
initializeDiagramContainer,
moveFeature,
selectFeature
Expand Down Expand Up @@ -69,9 +71,6 @@ import {
BPMNPropertiesMouseListener,
BPMNPropertyModule
} from '@open-bpmn/open-bpmn-properties';
import {
bpmnHelperLineModule,
} from './bpmn-helper-lines/bpmn-helper-line-module';
import {
BPMNLabelNodeSelectionListener,
BPMNMultiNodeSelectionListener
Expand Down Expand Up @@ -180,9 +179,19 @@ export function createBPMNDiagramContainer(...containerConfiguration: ContainerC

export function initializeBPMNDiagramContainer(container: Container,
...containerConfiguration: ContainerConfiguration): Container {


const filteredElements = alignmentElementFilter.filter(element =>
element.type !== 'BPMNLabel' &&
element.type !== 'sequenceFlow' &&
element.type !== 'messageFlow' &&
element.type !== 'association' &&
element.type !== 'lane-divider'
);

// return initializeDiagramContainer(container, bpmnDiagramModule, ...containerConfiguration);
// return initializeDiagramContainer(container, bpmnDiagramModule, helperLineModule, BPMNPropertyModule, ...containerConfiguration);
return initializeDiagramContainer(container, bpmnDiagramModule, bpmnHelperLineModule, BPMNPropertyModule, ...containerConfiguration);
return initializeDiagramContainer(container, bpmnDiagramModule, helperLineModule, BPMNPropertyModule, ...containerConfiguration);
// return initializeDiagramContainer(container, bpmnDiagramModule, bpmnHelperLineModule, BPMNPropertyModule, ...containerConfiguration);


}

0 comments on commit 2190ed0

Please sign in to comment.