GithubHelp home page GithubHelp logo

natashawso2 / bpelviz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bpeltools/bpelviz

0.0 2.0 0.0 370 KB

BPELviz visualizes WS-BPEL 2.0 processes interactively with HTML5.

License: MIT License

XSLT 32.23% Java 24.55% CSS 34.14% JavaScript 9.08%

bpelviz's Introduction

BPELviz

BPELviz visualizes WS-BPEL 2.0 processes interactively with HTML5.

Building

We use Sass to generate the CSS. We keep the compiled .css file in the repository to enable a quick start with the visualizer.

Sass installation is described at http://sass-lang.com/install. In a nutshell, you have to install ruby and then execute gem install sass on the command line. BPELviz.scss can be converted into BPELviz.css by executing sass BPELviz.scss BPELviz.css in src/main/resources.

License

MIT License

Installation

[manual] make sure that JAVA_HOME points to local jdk folder
$ git clone https://github.com/BPELtools/BPELviz
$ cd BPELviz
$ gradlew installApp
[manual] add build/install/BPELviz/bin to PATH

Usage

usage: BPELviz [options] BPEL_FILE [HTML_FILE]
 -o,--open-in-browser   opens html file in default browser

# Examples
$ BPELviz -o example.bpel # opens the html5 of example.bpel in default browser
$ BPELviz example.bpel example.html # creates example.html from example.bpel
$ BPELviz -o example.bpel example.html # creates example.html from example.bpel and opens it in default browser

Development

Some commands which are very helpful during development:

$ gradlew sass # src/main/resources/BPELviz.scss --> src/main/resources/BPELviz.css
$ gradlew idea # create/update intellij project files
$ gradlew eclipse # create/update eclipse project files
$ gradlew run -Pargs="ARGS" # Run BPELviz; ARGS see Usage
$ gradlew generateExamples # Generates visualizations for all betsy-tests

Some documentation:

  • The folder betsy-tests contains the whole test suite of betsy comprising over 160 BPEL processes. Via the class bpelviz.BetsyTestVisualizer, the visualizations of all processes within the betsy-tests folder can be created within the betsy-tests-visualization folder.
  • The core class is the BPELviz class - the entry to this library. The core logic, however, is within the js, xsl and scss/css files within the src/main/resources directory. The primary files are named BPELviz while secondary (included) files are named something else.

Contribution Guide

  • Fork
  • Send Pull Request

bpelviz's People

Contributors

koppor avatar simonharrer avatar vanto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.