Dibatalkan

Build Business Process Mapping plugin for DokuWiki

Hi,

I would like you to build for me:

A dokuwiki plugin (php) that renders a domain specific language (DSL) into a BPMN2 swim lane process diagram.

The DSL would have the similar syntax as Graphviz and looks like this:

<swimlane_plugin>

Pool { name = “Procurement” }

Lane { name = “Sales Manager”, parent = “Procurement”, Order=”1” }

Lane { name = “Sales Person”, parent = “Procurement” , Order=”2” }

Lane { name = “Department admin”, parent = “Procurement” , Order=”3” }

Lane { name = “Financial admin”, parent = “Procurement” , Order=”4” }

ProcessItem = { lane=”Sales Person”, Name=”SaleMade”, type=”Start”, text=”Sale Made”, pos=”1” }

ProcessItem = { lane=”Sales Person”, Name=”LogSale”, type=”Activity”, text=”Log sale”, pos=”2” }

ProcessItem = { lane=”Department Admin”, Name=”BookSale”, type=”Activity”, text=”Book sale”, pos=”2” }

ProcessItem = { lane=”Department Admin”, Name=”SendInvoice”, type=”Activity”, text=”Send invoice to customer”, pos=”3” }

ProcessItem = { lane=”Department Admin”, Name=”End”, type=”stop”, pos=”4” }

Connection = { from=”SaleMade”, to=”LogSale”, Type=”OpenArrow” }

Connection = { from=”LogSale”, to=”BookSale” , Type=”Dashed” }

Connection = { from=”BookSale”, to=”SendInvoice” , Type=”OpenArrow” }

Connection = { from=”SendInvoice”, to=”End” , Type=”OpenArrow” }

</swimlane_plugin>

And would produce an image like attached.

This plugin is quite similar as Graphviz. However, Graphviz is actually an executable that takes care of the rendering of the image. I have a slight preference to render it directly from PHP over a solution where an executable creates the images on the fly. A slight preference, because I ultimately only care about a solution that implements whatever works and as long as the solution works on both Windows (32 and 64 bit) and all major Linux distributions (32 and 64 bit).

The solution would do the following behind the scenes:

- In memory, create the activity objects and determine their coordinates. The coordinates can be determined by the x-location and Y-location properties as part of the language. Just assume a fixed width and height to the objects and the x coordinate could be calculated like this:

Swimlane headers with + (x-position * activity_width) + ((x-position – 1) *activity_spacing).

(If you don’t get what I mean with this calculation, don’t bother putting in a quote)

- In memory, create the connection objects and determined their coordinates. We already have the coordinates of the activities, so we should therefore also be able to put the connections between them

- Put the activities and connections is swim lanes, adjusting the size to make it fit. The swimlanes can contain a hierarchy, just a companies have hierarchies.

- Render it as an image and display in DokuWiki.

Cheers,

Stephan

Kemahiran: .NET, Pengaturcaraan C, HTML, PHP, Kejuruteraan Perisian

Lihat lebih lanjut: dokuwiki plugin process, business plugin dokuwiki, dokuwiki process, what is syntax in programming, syntax programming, syntax in programming, programming syntax, programming process, programming language syntax, programming for linux, programming diagram, programming book , process x, objects in programming, linux for business, is programming for me, in the swim, Financial manager, dsl programming, create business log, c programming syntax, c programming language book, companies log, companies 4 sale, c++ for business programming

Tentang Majikan:
( 16 ulasan ) Eltham, Australia

ID Projek: #1578644

2 freelancers are bidding on average $210 for this job

Emmanuelinfotech

PLEASE CHECK PMB

$220 AUD dalam 5 hari
(0 Ulasan)
0.0
Malikmartin

PLEASE CHECK PMB

$200 AUD dalam 3 hari
(0 Ulasan)
0.0