Skip to content

Commit

Permalink
chore: update master to main references
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Dec 20, 2023
1 parent b19f116 commit 6817d14
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bpmn-properties/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ modeling.updateProperties(sequenceFlowElement, {
});
```

> Implement your own [`CommandHandler`](https://github.com/bpmn-io/diagram-js/blob/master/lib/command/CommandHandler.js) to perform more advanced atomic updates.
> Implement your own [`CommandHandler`](https://github.com/bpmn-io/diagram-js/blob/main/lib/command/CommandHandler.js) to perform more advanced atomic updates.
Both ways will eventually serialize the condition to XML.

Expand Down
2 changes: 1 addition & 1 deletion colors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ canvas.addMarker('UserTask_1', 'highlight');

### Option 4: Color via Custom Renderer

Checkout [bpmn-js-task-priorities](https://github.com/bpmn-io/bpmn-js-task-priorities) for an example that provides a [custom renderer](https://github.com/bpmn-io/bpmn-js-task-priorities/blob/master/lib/priorities/ColorRenderer.js) to color shapes and connections dynamically.
Checkout [bpmn-js-task-priorities](https://github.com/bpmn-io/bpmn-js-task-priorities) for an example that provides a [custom renderer](https://github.com/bpmn-io/bpmn-js-task-priorities/blob/main/lib/priorities/ColorRenderer.js) to color shapes and connections dynamically.


## Run this Example
Expand Down
4 changes: 2 additions & 2 deletions deep-linking/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bpmn-js deep-linking example

This example shows how to use the [rootElements API](https://github.com/bpmn-io/diagram-js/blob/master/lib/core/Canvas.js) of [bpmn-js](https://github.com/bpmn-io/bpmn-js) to switch between different diagram layers.
This example shows how to use the [rootElements API](https://github.com/bpmn-io/diagram-js/blob/main/lib/core/Canvas.js) of [bpmn-js](https://github.com/bpmn-io/bpmn-js) to switch between different diagram layers.

![Screenshot](resources/screenshot.png)

Expand All @@ -12,7 +12,7 @@ Opening the generated link will take you to the selected subprocess view directl

## Usage summary

Access the [`Canvas`](https://github.com/bpmn-io/diagram-js/blob/master/lib/core/Canvas.js) service via `bpmnViewer.get('canvas')` and set root elements by id using the `Canvas#setRootElement` method. For collapsed subprocesses, the root element is suffixed with `_plane`.
Access the [`Canvas`](https://github.com/bpmn-io/diagram-js/blob/main/lib/core/Canvas.js) service via `bpmnViewer.get('canvas')` and set root elements by id using the `Canvas#setRootElement` method. For collapsed subprocesses, the root element is suffixed with `_plane`.

```javascript
var canvas = bpmnViewer.get('canvas');
Expand Down
6 changes: 3 additions & 3 deletions overlays/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# bpmn-js overlays example

This example shows how to use the [overlays API](https://github.com/bpmn-io/diagram-js/blob/master/lib/features/overlays/Overlays.js) of [bpmn-js](https://github.com/bpmn-io/bpmn-js) to attach HTML overlays to a BPMN 2.0 diagram.
This example shows how to use the [overlays API](https://github.com/bpmn-io/diagram-js/blob/main/lib/features/overlays/Overlays.js) of [bpmn-js](https://github.com/bpmn-io/bpmn-js) to attach HTML overlays to a BPMN 2.0 diagram.


## About

The example loads a process diagram on how to process QR codes and attaches a note on it using the [`overlays`](https://github.com/bpmn-io/diagram-js/blob/master/lib/features/overlays/Overlays.js) service.
The example loads a process diagram on how to process QR codes and attaches a note on it using the [`overlays`](https://github.com/bpmn-io/diagram-js/blob/main/lib/features/overlays/Overlays.js) service.

![QR-CODE workflow process](./docs/qr-code.gif "Screencast of overlays in action.")


## Usage summary

Access the [`overlays`](https://github.com/bpmn-io/diagram-js/blob/master/lib/features/overlays/Overlays.js) service via `bpmnViewer.get('overlays')` and add overlays to elements by id using the `Overlays#add` method.
Access the [`overlays`](https://github.com/bpmn-io/diagram-js/blob/main/lib/features/overlays/Overlays.js) service via `bpmnViewer.get('overlays')` and add overlays to elements by id using the `Overlays#add` method.

```javascript
var overlays = bpmnViewer.get('overlays');
Expand Down
2 changes: 1 addition & 1 deletion theming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var bpmnViewer = new CustomBpmnJS({

### Custom CSS

bpmn-js comes with a [default stylesheet](https://github.com/bpmn-io/diagram-js/blob/master/assets/diagram-js.css). Of course you can override any of these styles.
bpmn-js comes with a [default stylesheet](https://github.com/bpmn-io/diagram-js/blob/main/assets/diagram-js.css). Of course you can override any of these styles.

## Run this example

Expand Down

0 comments on commit 6817d14

Please sign in to comment.