Skip to content

Commit

Permalink
Revert "revert change not related to doc"
Browse files Browse the repository at this point in the history
This reverts commit f09e41aeefe259810da5abc1be2680b132d2c789.
  • Loading branch information
tbouffard committed Oct 4, 2022
1 parent f1badaf commit 116a82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BpmnVisualization, ShapeUtil, FlowKind } from "bpmn-visualization";
import { BpmnVisualization, ShapeUtil, FlowKind, FitType } from "bpmn-visualization";

// BPMN diagram content conveniently retrieved with Vite (as string)
// for other load methods, see https://github.com/process-analytics/bpmn-visualization-examples
Expand All @@ -17,7 +17,7 @@ footer.innerText = `bpmn-visualization@${version.lib}`;

// load and filter a pool
bpmnVisualization.load(diagram, {
fit: { type: "Center" },
fit: { type: FitType.Center },
modelFilter: {
pools: [
{
Expand Down

0 comments on commit 116a82c

Please sign in to comment.