@bpmnkit/core 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bpmn/compact.js
CHANGED
|
@@ -612,6 +612,9 @@ function buildDiagram(processId, process) {
|
|
|
612
612
|
isExpanded: n.isExpanded,
|
|
613
613
|
bounds: n.bounds,
|
|
614
614
|
label: n.labelBounds ? { bounds: n.labelBounds } : undefined,
|
|
615
|
+
// The bpmn-js Viewer draws the "X" only when the shape says so; the Modeler
|
|
616
|
+
// assumes it. Spread so other shapes keep no `isMarkerVisible` key.
|
|
617
|
+
...(n.type === "exclusiveGateway" ? { isMarkerVisible: true } : {}),
|
|
615
618
|
unknownAttributes: {},
|
|
616
619
|
}));
|
|
617
620
|
const edges = layout.edges.map((e) => ({
|
|
@@ -196,6 +196,8 @@ export function analyzeFlow(p, _opts) {
|
|
|
196
196
|
id: `${gatewayId}_di`,
|
|
197
197
|
bpmnElement: gatewayId,
|
|
198
198
|
bounds: { x: gwX, y: gwY, width: gwWidth, height: gwHeight },
|
|
199
|
+
// The bpmn-js Viewer draws the "X" only when the shape says so.
|
|
200
|
+
isMarkerVisible: true,
|
|
199
201
|
unknownAttributes: {},
|
|
200
202
|
});
|
|
201
203
|
for (const inFlowId of oldIncomingIds) {
|