Re: Orgcharts in Javascript
Alberto Reggiori (alberto.reggiori@jrc.it)
Tue, 27 Oct 1998 18:08:32 +0100
Elliotte Rusty Harold wrote:
>
> >I'm thinking about the problems of representing graphics with XML. I know
> >about PGML, VML, etc., but I want to think about subsets of graphics where
> >the computer can completely handle layout. I want to just tell it what
> >boxes, lines and labels I want and have it draw them. I don't want to give
> >it X and Y coordinates for attachment points, boxes, etc.
> >
>
> Back in grad school I used to use an X-Windows program called grtool that
> had a simple text based file format for drawing graphs. It certainly
> wasn't XML, but it was extremely useful when I needed to write C code that
> chunked out hundreds of pages of graphs for different parameter values.
> grtool is probably still out there somewhere.
>
> That job converted me to the text-based file format religion. It would
> have been much harder to do something similar on a Mac or PC using
> something like DeltaGraph with its binary file formats.
>
I was thinking to build a really simple implementation of VML (or some
other XML-ish) in Javascript 1.1 using the xbm format (ASCII text) to
draw simple shapes on the client side.
I got this idea looking at the site http://www.hidaho.com/doodlepad/
The xbm is b/w but is trivial to implement.
Any attempt in this direction ?
Alberto