@netgrif/petri.svg
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Petri.SVG

GitHub npm dev dependency version (scoped) Petriflow 1.0.1 npm (scoped) npm build Quality Gate Status Known Vulnerabilities

Visual library for Petri Net objects

Petri.SVG is a Typescript library for visual representation of Petri Net objects. The library is for rendering and modeling Petri Net objects as SVG elements. The library consists of classes that represents SVG elements of Petri Net components.

Install

First, make sure you have installed the latest version of Node.js and npm with it (You may need to restart your computer after this step).

You can install it with the following command:

npm install --save @netgrif/petri.svg

Requirements

Currently, the library only supports browser applications because ** requires DOM Web API** to correctly process Petriflow files. It can be used in Node.js environments with the latest release of the jsdom library installed.

Reporting issues

If you find a bug, let us know. First, please read our Contribution guide

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an " AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar

Install

npm i @netgrif/petri.svg

Weekly Downloads

2

Version

1.1.0

License

Apache-2.0

Unpacked Size

245 kB

Total Files

9

Last publish

Collaborators

  • devopsnetgrif
  • bawix
  • mladoniczky