Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I looked at some source for a Maestro diagram and saw that it appears to use a JavaScript library for constructing the diagrams.
Would W3C standard Scalable Vector Graphics (SVG) be more suitable. JavaScript/AJAX/JQuery could still be used for handling UI events and for manipulation of the SVG DOM to fulfil the user's actions to edit their diagram.
Thoughts?
Comments
Comment #1
_randy CreditAttribution: _randy commentedPatches are welcome :-)
Its been a while, but quite some time ago I was pondering whether to rewrite the interface with svg or not. I now also question whether svg is the right way or if an HTML5 canvas is better.
Comment #2
therobyouknow CreditAttribution: therobyouknow commentedThanks @_randy for reading my comments. Yes I would be happy to first learn about the workings of Maestro and the structure of the data in the database in order to make a patch to produce a SVG version of Maestro that constructs SVG from the database records.
Some more detailed thoughts on why I prefer SVG instead of HTML5 canvas for this particular application because:
Comment #3
therobyouknow CreditAttribution: therobyouknow commentedhttp://raphaeljs.com may be a suitable replacement for the HTML5 Canvas (bitmapped) that appears to be currently used by Maestro. The site is user-friendly: clear points about the features, well documented it seems and MIT license.
A sibling of Raphael is this (also from Sencha labs)
http://philogb.github.com/jit/demos.html
Others are:
http://irunmywebsite.com/raphael/additionalraphael.php
http://stackoverflow.com/questions/7034/graph-visualization-code-in-java...