Skip to content

Commit

Permalink
Merge branch 'master' into update_contributing_part_of_readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard authored and csouchet committed Sep 17, 2020
2 parents bdb8ead + 792d3f3 commit 61aa6a0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 27 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are many ways to contribute:
- submitting bug reports and feature requests in the [Github Issues](https://github.com/process-analytics/bpmn-visualization-js/issues/new)
- [writing code](CONTRIBUTING.md#code-and-documentation-changes) which can be incorporated into `bpmn-visualization` itself
- [improving](CONTRIBUTING.md#code-and-documentation-changes) the documentation
- improve the existing example applications to demonstrate features in `bpmn-visualization`
- improve the existing [example applications](https://github.com/process-analytics/bpmn-visualization-examples) to demonstrate features in `bpmn-visualization`

## Code and documentation changes guidelines

Expand Down Expand Up @@ -58,8 +58,7 @@ git checkout -b 25-annotations_to_tasks

#### Requirements

- `Node.js` >= 12.x (may work with older versions but without any guarantee)
- `Typescript` 3.x
- `Node.js` 12.16.x and 14.11.x (may work with other versions but without any guarantee)
- `Supported OS` (see the Github Build workflow for more details): Windows/Linux/MacOs

#### Build
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](CONTRIBUTING.md)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
[![License](https://img.shields.io/github/license/process-analytics/bpmn-visualization-js?color=blue)](LICENSE)

`bpmn-visualization` is a TypeScript library to visualize process execution data on [BPMN](https://www.omg.org/spec/BPMN/2.0.2/)
diagrams with
Expand All @@ -20,8 +21,8 @@ diagrams with

## Demo

The [demo environment](https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/demo/index.html)
let you load a BPMN file to see how the lib renders it. Various versions of the lib are available.
Give a try to the [__:fast_forward: demo live environment__](https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/demo/index.html).
The demo let you load a BPMN file to see how `bpmn-visualization` renders it. Various versions of the lib are available.

If you need BPMN examples, you can use resources from
- the [BPMN Model Interchange Working Group (BPMN MIWG)](http://www.omgwiki.org/bpmn-miwg)
Expand All @@ -32,10 +33,11 @@ If you need BPMN examples, you can use resources from

## Examples

If you need examples about `bpmn-visualization` usage and extensibility, go to the [bpmn-visualization-examples](https://github.com/process-analytics/bpmn-visualization-examples/)
repository.
Want to know more about `bpmn-visualization` usage and extensibility? Have a look at the
[__:fast_forward: live examples site__](https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/examples/index.html).

These examples are also available in the [examples live environment](https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/examples/index.html).
For more technical details and how-to, go to the [bpmn-visualization-examples](https://github.com/process-analytics/bpmn-visualization-examples/)
repository.


# Roadmap
Expand Down Expand Up @@ -78,4 +80,4 @@ for more details:

[![statically.io logo](https://statically.io/icons/icon-96x96.png "statically.io")](https://statically.io)

**[statically.io](https://statically.io)** (demo environment)
**[statically.io](https://statically.io)** (<kbd>demo</kbd> and <kbd>examples</kbd> live environments)
2 changes: 1 addition & 1 deletion docs/bpmn-support.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
== Supported BPMN Elements
:icons: font

NOTE: The short term support roadmap is available in https://github.com/process-analytics/bpmn-visualization-js/milestones[Github milestones]
NOTE: The BPMN support roadmap is available in https://github.com/process-analytics/bpmn-visualization-js/milestones[Github milestones]


The following presents BPMN elements that can be displayed by the lib and states which is their rendering status i.e. if
Expand Down
2 changes: 1 addition & 1 deletion docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ General information are available in the [Contributing Guide](../../CONTRIBUTING
Information about the library internals are available in the [architecture folder](./docs/architecture) or in html form in the [documentation site](https://process-analytics.github.io/bpmn-visualization-js/#_architecture_and_development)

Here are some tips to help during development:
- [how to support new BPMN elements](./bpmn-support-how-to.adoc)
- [how to support new BPMN elements](./bpmn-support-how-to.md)
- [mxgraph version bump](./mxgraph-version-bump.md)
- [testing](./testing.md)
12 changes: 3 additions & 9 deletions docs/development/ide-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,11 @@ An [AsciiDoc IntelliJ Plugin](https://plugins.jetbrains.com/plugin/7391-asciidoc

Install the EditorConfig extension. A configuration file already exists in the repository so it will apply right after the extension installation.

#### [Jest tests](https://github.com/jest-community/vscode-jest#how-to-get-it)

To be able to run tests from VS Code, you firstly install the Jest extension, then, go to the **Run** menu of VS Code.
You can run 2 test configurations:
#### [Debugging TypeScript code](https://code.visualstudio.com/docs/typescript/typescript-debugging)
The `launch.json` file is already configured to execute tests:
- unit tests: `test:unit`
- end to end tests: `test:e2e`

If you want to use coverage, follow this tutorial: https://github.com/jest-community/vscode-jest#how-do-i-show-code-coverage

#### [Debugging TypeScript code](https://code.visualstudio.com/docs/typescript/typescript-debugging)
The `launch.json` file is already configured to execute unit & e2e tests.

You can duplicate these configurations or create another, if you want/need.

#### [Draw.io Diagram](https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio)
Expand Down
18 changes: 11 additions & 7 deletions docs/intro.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
`bpmn-visualization` is a TypeScript library to visualize process execution data on https://www.omg.org/spec/BPMN/2.0.2/[BPMN]
diagrams. It is in early development stages and is subject to changes prior to the `1.0.0` release.

We are currently focusing on the <<supported-bpmn-elements,BPMN support>> to be able to render most of the BPMN
elements. Then, we will work on BPMN extensions, library extension points, display options for execution data with interactive
For now, we render the most <<supported-bpmn-elements,common BPMN elements>>. Notice that there is currently no plan to support `Conversation` and `Choreography`.

We are currently focusing on the https://github.com/process-analytics/bpmn-visualization-js/milestone/18[packaging] of the library.

Then, we will work on BPMN extensions, library extension points, display options for execution data with interactive
capacities.

**Supported Browsers**: Chrome, Firefox, Safari, Edge.
Expand All @@ -13,8 +16,8 @@ capacities.
== Demo and examples

=== Demo
The https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/demo/index.html[demo environment]
let you load a BPMN file to see how the lib renders it. Various versions of the lib are available.
Give a try to the https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/demo/index.html[**icon:forward[] demo live environment**].
The demo let you load a BPMN file to see how `bpmn-visualization` renders it. Various versions of the lib are available.

If you need BPMN examples, you can use resources from

Expand All @@ -25,7 +28,8 @@ If you need BPMN examples, you can use resources from


=== Examples
If you need examples about `bpmn-visualization` usage and extensibility, go to the https://github.com/process-analytics/bpmn-visualization-examples/[bpmn-visualization-examples]
repository.
Want to know more about `bpmn-visualization` usage and extensibility? Have a look at the
https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/examples/index.html[**icon:forward[] examples live environment**].

These examples are also available in the https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/examples/index.html[examples live environment].
For more technical details and how-to, go to the https://github.com/process-analytics/bpmn-visualization-examples/[bpmn-visualization-examples]
repository.

0 comments on commit 61aa6a0

Please sign in to comment.