LPA VisiRule 1.5 - Details
VisiRule is a graphical tool for designing, developing and delivering business rule and decision support applications, simply by drawing a flowchart that represents the decision logic.
As a result, potentially complex business logic can be elegantly and clearly represented in a diagram comprising of interconnected boxes. These diagrams are easy to construct and quick to test. By laying out complex logic in a simple and coherent way, expertise can be shared and communicated with colleagues in a non-technical and platform independant manner. VisiRule charts are simply self-contained diagrams; they can be exported to and displayed within other applications such as Word, Acrobat etc.
Charts can vary from simple Decision Tree where every questions has a finite set of answers which determine where you go next to more complicated situations where you have to make decision on incomplete or partial information or where your knowledge is not sufficient to cover all combinations of answers.
Key features of VisiRule include:
- Intelligent Drawing and Design Tool: helps you draw meaningful charts and links; whereever possible errors are prevented or detected at edit time; syntax for expressions is analysed on-the-fly; connecting incompatible boxes is prevented
- Automatic Layout Support: rich set of editing features for automatic alingning and spacing of diagrams
- Configurable Viewing Options: in addition to zooming in and out of charts, VisiRule lets you supress information (like question prompts or explanantions) when required to help produce compact charts which fit on 2 sides of A4 or US Letter
- Shareable Charts: VisiRule charts can be saved as normal Windows meta-files and shared and discussed with external colleagues and collaborators in an industry format that does not require any special purpose software, just standard applications such as Word, Acrobat
- In-Situ Execution and Code Generation: generates Flex KSL code on-the-fly for inspection and immediate execution. Once the chart has been filly tested, the code can be exported and integrated within the LPA IDE with other code or toolkits.
- Rich Set of Question Types: including single and multiple choice, numeric and integer entry, text and set entry
- Powerful Expression Handling Logic: supports AND and OR and set inclusion and exclusion. Expressions can be simple comparisons or involve compound expressions and nested sub-expressions
- Code Boxes: lets you access procedural code and external functions written in Flex, Prolog or traditional languages such as VB, C, C++
- Statement Boxes: for computable answers which are not decided by questioning the user and require some table lookup or calculation
- Integration with IDE: VisiRule integrates with the standard LPA IDE which means that you can be developing your charts and editing normal Prolog or Flex program windows at the same time with full access to all the other LPA development tools and debugger options
- 64-bit Arithmetic: full-featured, efficient double precision built-in floating point maths library complements the 32-bit integer arithmetic
- Multiple Document Interface: any number of charts and/or program edit windows can simultaneously opened in an MDI-standard development environment
- Dynamic Link Libraries: you can load and access code in DLLs written using standard Windows development languages, including Visual C/C++, Visual Basic and Delphi
- Direct Windows API interface: you can call virtually any Windows API function, or third-party DLL function, without the need to resort to C/C++ programming
- Automatic Configuration: the same files run on Vista, WinXP, Win2k, WinNT, WinME and Win98, and fully support features of each version of the platform
- Language Interfaces: the Intelligence Server option lets you embed your VisRule charts within C/C++, Visual Basic (VBX), Delphi, Java, C# with others planned for the near future
- True 32-bit Implementation: a genuine Win32 application makes up to 4Gb (4096Mb) of memory is directly addressable, without complex internal segmented addressing schemes
- Small Memory Requirements: run-time delivery needs as little as 4Mb of memory: as much space as possible is made available for use by user's chart
The VisiRule Palette and tools
The VisiRule user interface consists of two major elements: a vertical tool palette and pop up menus obtained by right clicking on either the screen or else on the objects in the flowchart. The tools include:
The Selection Tool
This is a very important tool as it allows us to select either individual objects on the flowchart, groups of such objects or the background screen itself. Once you have chosen this tool (by clicking on it with your mouse) you can then select an object (box or arc) or the background screen itself. You can also use the tool to select a group of items.
If you have clicked on a box or group of boxes, you can drag it around the screen to another position or you can right click on it to obtain its menu of options. You can also delete it (or an arc) by clicking on it and pressing the delete key.
The Navigate Tool
The Navigate Tool is used to rapidly move around a large flowchart. After choosing it your mouse cursor changes to a hand. If you want to see what is to the right of the current display you drag the screen to the left. If you want to see below the current display you drag the screen upwards.
The Text Edit Tool
Any text in the flowchart (in a Text Box, or in one of the text fields of any box type) can be edited by clicking on the text with this tool. If the flowchart has been zoomed down, the text will appear in normal size for editing.
The Arc Tool
This tool allows you to draw an arc from one box to another. Click on the first box and drag the cursor to the box you want to join the first box to. Arcs can be deleted by clicking on them with the Selection tool and then either pressing the delete key or right clicking and selecting the delete option from the resulting menu.
The Box Tools
The remaining tools are all for creating new boxes. Choose the tool for the box type you want and click on the place on the screen where you want the new box to be positioned. Do not worry if it is not exactly in place as it can be moved more precisely with the Selection Tool once you have created it.
Question Box Types
If you right click on a question box, a menu appears which includes the option 'Question Type'. The options are:
- Single Choice: This is the default option. The menu produced will only allow the user to select one of the items on the menu.
- Multiple Choice: This allows the user to select any or none of the items on the menu.
- Number Input: Instead of a menu, this option provides an input box into which the user can enter any number.
- Integer Input: This is like Number Input, but only allows the user to enter an integer.
- Set Input: An input box is also provided by this option. The user can type in a list of items, separated by commas. For example: red, amber, green.
- Name Input: Another input box is provided into which the user can type a word or phrase.
Try before you Buy!
You can try all of the features mentioned above, and many more, by requesting an evaluation copy from LPA; just supply us with your full postal address.
Check out the live VisiRule Web Demos!
Check out the VisiRule Tutorial Demos!