Hi all,
I added the new diagram package to cvs under openacs-4/packages. I hope the location is correct. The API is stable as it is in the style of list builder.
I added some documentation with sample data. If you are using the package on a production server simply skip the diagram-create.sql file. Documentation is found under /doc/diagram/.
You need to restart the server to load the API. The relevant procs are documented as well under
/api-doc/proc-view?proc=template::diagram::create
/api-doc/proc-view?proc=template::diagram::element::create
This package is basically a wrapper around the JS diagram library of Lutz Tautenhahn as found under http://www.lutanho.net/diagram/. I added a diagram type I called cockpit (see documentation).
The package was tested on Firefox, Opera, Internet Explorer. It was reported to be working on Safari.
Greetings,
Nima