Depicter

November 22, 2006

Open jACOB Draw2D

Filed under: graphics, javascript, diagrams — Dan Muresan @ 11:59 am

Andreas Herz has added diagramming features (connectors, ports, tool selection) on top of Walter Zorn’s famous DHTML graphics library to create Open jACOB Draw2D. There are several interactive demos that let you create simple diagrams. There is also javadoc style documentation (though it mostly documents the class hierarchy).

I think a discussion of the underlying wz_jsgraphics library (which Depicter.com currently also uses) is in order. First of all, the good: this approach works in all Javascript-enabled browsers (in particular, Flash is not needed). But wz_jsgraphics is rather inflexible: it’s merely a compiler for a few graphics primitives (lines, filled rectangles and XY-alligned ellipses) to an “assembly” language consisting of stacked DIVs. Because the library doesn’t keep track of the DIVs associated with each primitive, there’s no way to undo a shape (short of clearing the entire drawpad). wz_jsgraphics can also be slow (anything but rectangles and horizontal / vertical lines requiring large number of DIVs). However, these shortcomings aren’t fatal for a diagramming application.

Open jACOB is supposed to be a bigger framework, including a server-side part, though at the moment there isn’t much to see besides Draw2D. Overall, this is a promising start; hopefully this project will stay active and yield (further) useful results.

1 Comment

  1. Hi,

    you are right - Open-jACOB isn’t the right tool for a vector paint program.

    The main focus is the our workflow editor. You can edit all the business rules
    online of an Open-jACOB application.

    Additional I have publish a digital circuit simulator. Inspired from my first
    project: http://www.digital-simulator.de

    The next application in queue is a network monitor. You can model your network infrastructure
    with the Draw2D component ( e.g. router, PC, switch,…) and the Open-jACOB Framework
    handles the back end stuff. Like alerting, reporting, ….

    But be in mind: All the applications are only “starter kits”. It’s your turn to
    extends the applications with your custom stuff.

    greetings

    Andreas

    P.S. : we are currently in the the ramp up. I think a lot of useful apps. will
    follow. hints are welcome :-)

    Comment by Andreas Herz — February 8, 2007 @ 2:37 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

[ Powered by WordPress ]