petri.svg 1.1.1
Install from the command line:
Learn more about npm packages
$ npm install @netgrif/petri.svg@1.1.1
Install via package.json:
"@netgrif/petri.svg": "1.1.1"
About this version
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.
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
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.
If you find a bug, let us know. First, please read our Contribution guide
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.