Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netgrif/petriflow.svg
Angular library of SVG elements for visual representation of Petriflow objects.
https://github.com/netgrif/petriflow.svg
angular angular-library npm npm-package petri-nets petriflow svg
Last synced: 12 days ago
JSON representation
Angular library of SVG elements for visual representation of Petriflow objects.
- Host: GitHub
- URL: https://github.com/netgrif/petriflow.svg
- Owner: netgrif
- License: apache-2.0
- Created: 2022-02-07T08:27:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T18:46:25.000Z (about 1 year ago)
- Last Synced: 2024-10-17T12:56:27.796Z (22 days ago)
- Topics: angular, angular-library, npm, npm-package, petri-nets, petriflow, svg
- Language: HTML
- Homepage: https://netgrif.github.io/petriflow.svg
- Size: 4.45 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Petriflow.SVG
[![GitHub](https://img.shields.io/github/license/netgrif/petriflow.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@netgrif/petriflow.svg/dev/typescript?label=Typescript)](https://www.typescriptlang.org/)
[![Petriflow 1.0.1](https://img.shields.io/badge/Petriflow-1.0.1-0aa8ff)](https://petriflow.com)
[![npm (scoped)](https://img.shields.io/npm/v/@netgrif/petriflow.svg)](https://www.npmjs.com/package/@netgrif/petriflow.svg)
[![npm](https://img.shields.io/npm/dt/@netgrif/petriflow.svg)](https://www.npmjs.com/package/@netgrif/petriflow.svg)
[![build](https://github.com/netgrif/petriflow.svg/actions/workflows/master-build.yml/badge.svg)](https://github.com/netgrif/petriflow.svg/actions/workflows/release-build.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=netgrif_petriflow.svg&metric=alert_status)](https://sonarcloud.io/dashboard?id=netgrif_petriflow.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/netgrif/petriflow.svg/badge.svg)](https://snyk.io/test/github/netgrif/petriflow.svg)> Visual library for Petriflow objects
Petriflow.SVG is an Angular library for visual representation of Petriflow objects. The library is for rendering and
modeling
Petriflow objects as SVG elements.
The library offers component that is functionally container for SVG objects. Within the component a user can draw/model
a Petriflow process.
The library is updated together with the Petriflow specification to ensure up-to-date compatibility.Full specification of Petriflow low-code language can be found at [Petriflow.com](https://petriflow.com)
The library is based on the library Petri.SVG that is also developed in this project (folder projects/petri-svg).
Petri.SVG is pure Typescript library of visual representation (SVG elements) of Petri Nets components.
For more information see [Petri.SVG](projects/petri-svg).## 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:
```shell
npm install --save @netgrif/petriflow.svg
```### Requirements
As the library is an Angular library the main dependency is Angular 13 and its modules.
For more information about dependencies see [the library package.json](projects/petriflow-svg/package.json).Since npm v7+ does not install peer dependencies you need to install them yourself. Please
see `peerDependencies` attribute in [the library package.json](projects/petriflow-svg/package.json).## Usage
The library publishes Angular component `petriflow-svg-canvas` that represent drawing canvas for SVG objects.
The component does not have any inputs or
output. [See documentation for more information.](https://netgrif.github.io/petriflow.svg)## Reporting issues
If you find a bug, let us know. First, please read
our [Contribution guide](https://github.com/netgrif/petriflow.js/blob/master/CONTRIBUTING.md)## 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 athttp://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.