From 8b62344743d2bd95cda16f914b596e9d1ab85601 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Wed, 20 Dec 2023 11:17:28 +0100 Subject: [PATCH] chore: update `master` to `main` references --- bpmn-properties/README.md | 2 +- colors/README.md | 2 +- deep-linking/README.md | 4 ++-- overlays/README.md | 6 +++--- theming/README.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bpmn-properties/README.md b/bpmn-properties/README.md index 371f87c6..b9ef42b7 100644 --- a/bpmn-properties/README.md +++ b/bpmn-properties/README.md @@ -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. diff --git a/colors/README.md b/colors/README.md index 5fe9478e..ed5bdc27 100644 --- a/colors/README.md +++ b/colors/README.md @@ -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 diff --git a/deep-linking/README.md b/deep-linking/README.md index 38233f65..23808868 100644 --- a/deep-linking/README.md +++ b/deep-linking/README.md @@ -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) @@ -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'); diff --git a/overlays/README.md b/overlays/README.md index 905ae29d..243ea7da 100644 --- a/overlays/README.md +++ b/overlays/README.md @@ -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'); diff --git a/theming/README.md b/theming/README.md index af9d280d..5a7c8541 100644 --- a/theming/README.md +++ b/theming/README.md @@ -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