Open ESB: The Solution for the Open Minded The Crooked Stick

My Other Crooked Stick (Archery)

Bookmark and Share

Wednesday Oct 22, 2008

Following on from my previous blog entry "Generating SVG From BPEL 2 Files" I have updated the core code to include those features that were originally missing. The new code samples can be found in the original location but I decided to add this blog to quickly sumarise the key features I added.


Related Articles


Resources

New Functionality


As mentioned the first version of the example code was missing a number of features based around the layout and general look and feel. Therefore this update provides those missing pieces of functionality. In addition to those discussed below I have generally cleaned up the underlying code.

Horizontal Layout


By default the BPEL 2 editor displays the BPEL process in a Vertical grid like format and therefore by default I generated the SVG in a Vertical format. Although I personally like the new format a number of my colleagues who are used to the Java CAPS eInsight monitoring layout requested a horizontal format. The two example below show BPEL processes in both formats.

Simple BPEL
Simple BPELSimple SVG vertical
Simple SVG Horizontal

BPEL with Flow

Flow BPELFlow SVG Vertical
Flow SVH Horizontal

As can be seen from the above example the Activities are simply switched from the vertical to the horizontal and the "Left to Right" layout is switched to "Top to Bottom".

New NetBeans Plug-in Options


To facilitate additional flexibility when using the NetBeans Plug-in I have extended the configurable functionality available within the plug-in and underlying code to provide the followig.
  1. Start Icon Dimensions.
  2. End Icon Dimensions.
  3. X Spacing
  4. Y Spacing
  5. Icon Source
  6. Opacity Options (this allows the various sub component opacities to be modified and hence allow Adam to change them)
    1. Icon - Just does the icon opacity.
    2. Simple Activity - works with the simple activity wrapping the Icon and text
    3. Complex Activity - Work with the complex Activities wrapping it and all sub activities.

Options Update

Bookmark and Share
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed