Skip to content

Commit

Permalink
[INFRA] use [email protected] (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet authored Dec 14, 2020
1 parent a2de754 commit 497740b
Show file tree
Hide file tree
Showing 38 changed files with 68 additions and 416 deletions.
2 changes: 1 addition & 1 deletion demo/index.es.js

Large diffs are not rendered by default.

96 changes: 0 additions & 96 deletions demo/navigation-diagram.html

This file was deleted.

142 changes: 0 additions & 142 deletions demo/static/css/main.css

This file was deleted.

123 changes: 0 additions & 123 deletions demo/static/js/navigation-diagram.js

This file was deleted.

2 changes: 1 addition & 1 deletion examples/custom-animation/growing-sequence-flow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ It looks like `<path d="..." fill="none" stroke="black" stroke-width="1.78" stro
````

```javascript
const animatedSequenceFlowElt = bpmnVisualization.htmlElementRegistry.getBpmnHtmlElement('sequence_flow_id');
const animatedSequenceFlowElt = bpmnVisualization.bpmnElementsRegistry.getElementsByIds(['sequence_flow_id'])[0].htmlElement;
animatedSequenceFlowElt.classList.add('growing');
```

Expand Down
2 changes: 1 addition & 1 deletion examples/custom-animation/growing-sequence-flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h2>Growing Sequence Flow</h2>
</section>

<!-- load bpmn-visualization -->
<script src="https://unpkg.com/bpmn-visualization@0.8.0/dist/bpmn-visualization.js"></script>
<script src="https://unpkg.com/bpmn-visualization@0.9.0/dist/bpmn-visualization.js"></script>
<script src="../../bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-animation/growing-sequence-flow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const bpmnVisualization = new bpmnvisu.BpmnVisualization(bpmnContainerElt);
bpmnVisualization.load(getIncidentManagementBpmnDiagram(), {fit: {type: bpmnvisu.FitType.Center, margin:20}});

// Custom animation
const animatedSequenceFlowElt = bpmnVisualization.htmlElementRegistry.getBpmnHtmlElement('flow_5');
const animatedSequenceFlowElt = bpmnVisualization.bpmnElementsRegistry.getElementsByIds(['flow_5'])[0].htmlElement;

// WARNING: The class adding doesn't work with the zoom, the panning and the fit
// TODO Need to replace by the dedicated API when it is implemented
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It looks like `<path d="..." fill="none" stroke="black" stroke-width="1.78" stro
````

```javascript
const animatedMessageFlowElt = bpmnVisualization.htmlElementRegistry.getBpmnHtmlElement('message_flow_id');
const animatedMessageFlowElt = bpmnVisualization.bpmnElementsRegistry.getElementsByIds(['message_flow_id'])[0].htmlElement;
animatedMessageFlowElt.classList.add('running-dashed');
```

Expand Down
Loading

0 comments on commit 497740b

Please sign in to comment.