VisiRule JavaScript Rule Engine Demos

This page features various VisiRule charts delivered using the VisiRule for JavaScript compiler and low footprint client-side JavaScript rules engine. The JS rules engine is compact and executed locally as opposed to the VisiRule ChatBot delivery mechanism which shares the workload between client's browser and the VisiRule cloud-based rules engine.

 

JavaScript Rules Engine

The JavaScript Rules Engine execution & delivery means that VisiRule charts can be delivered server-free, entirely within the clients' browser with no need for interaction with any internet connection. This means that not only is delivery independent of network performance but the interaction is highly responsive.

 

This can be an ideal way to deliver many decision tree flowcharts solutions.


The VisiRule for JavaScript compiler and JavaScript rules engine encodes the business decision logic within an XML data structure which contains the logical structure of the VisiRule chart. This XML is evaluated locally using a dedicated JavaScript rules engine. This allows for execution in the browser, on mobile devices - indeed anywhere that JavaScript can run. VisiRule charts delivered locally are self-contained and can even be embedded within emails and documents.

Change Your Mind?

The dedicated JavaScript Evaluator and rule engine maintains a dynamic stack of the questions asked and the answers given. This allows the user to go back and change their answers to previous questions and re-evaluate.

Embedded Calculations and Formulae

The JavaScript Evaluator and rule engine supports the inclusion of Excel-like formulae and calculations.

 

JavaScript Customisation

Applications delivered as JavaScript can be easily customised, tweaked, enhanced, simply by editing the styles in the CSS style sheet or augmenting the HTML with additional JavaScript code. This greatly simplifies the run-time delivery of charts.

 

In a traditional server-rendered application, every user interaction has to confer with a remote server about what to do next. Client-side web apps are different. They load the entire payload up-front, so once it’s booted, it has all of the templates, business logic, etc. necessary to handle a user’s interactions. 

Lexis Tool Geschäftsfähigkeit

The digital assistant supports the examination of cases in which the effectiveness of a legal transaction or legal transaction is questionable with regard to the legal capacity. The tool is based on a questionnaire of over 50 questions , of which the user only has to go through a fraction, depending on his answers, in order to arrive at a result.

Lexis Tool Mietrechtsgesetz

The area of ​​application of the Tenancy Law often causes difficulties in practice - the assessment of which laws an existing contract is subject to is usually complex and time-consuming. The test scheme assistant enables a quick assessment of which regulations are to be applied to a specific tenancy.

Read how to do it yourself!

Read here how easy it is to generate your ow HTML version of your decision tree flowchart

Client Side Delivery

The demos presented use a basic CSS style sheet which specifies the font, size, face, colour, spacing, border for each node type found in the page (like question, explanation, conclusion etc). This presentation layer can be easily enhanced and extended by anyone familiar with HTML and standard web design principals.

 

This is made easier because VisiRule separates the chart structure from the chart logic and node data and stores them in XML, accompanied by the dedicated VisiRule for JavaScript business rule engine.

Lawns Example

VisiRule Generated Truth Table

Volatile Data

The focus of this decision tree is not to list every possible combination of scenarios, but to show some of the basic options that are available and remind examiners about things to think about when imaging.

Car Braking Example

Diagnosing braking problems and noises with shoes, rotors and calipers.

Do the brakes fail to stop the car?

If you have to step on the brake pedal harder than you want to in order for the brakes to operate normally, the brakes do stop the car. What we're interested in here is when you have to push on the pedal with both feet and the car slowly rolls to a stop rather than locking up the wheels, or when the pedal goes to the floor, won't pump up, and you have to yank the emergency brake or turn the engine off in gear in order to slow it down. I drove around ten miles through city street in a car with no hydraulic brakes when I was a stupid teenager, though fortunately it was a standard transmission and I was just smart enough to ignore the cars behind me and time all the lights.

Do I Need Approval?

Naval Operations Security (OPSEC)

Opsec Expert System Risk Chart
opsec risk decision flowchart-01.jpg