रवींदर *ाकुर (ravinder thakur) wrote:
Quote:
i am trying to dynamically create graphs in browsers(as in graph
theory, something like this http://sawamuland.com/flash/graph.html ,
not like excel graphs) but i am unable to find any starting point.
are there some tutorials/libraries to do the same ? i am ok to develop
these in javascript/xhtml/flash/etc as long as this can be done
dynamically. |
Since this is about graphs, (X)HTML and JavaScript (alone) are not what you
are looking for: (X)HTML is the (Extensible) Hyper*Text* markup language,
and ECMAScript implementations like JavaScript require an external API to be
useful. Although one could devise (or copypaste) a dirty, inefficient,
resource-consuming hack to draw arbitrary edges and vertices with positioned
block elements, the HTML DOM API is not suited to do what you want.
Instead, standalone or embedded SVG, Flash, and Java are probably the way to
go. SVG and Flash can be scripted with ECMAScript implementations; SVG with
JIT-compiled scripts, Flash with (probably) once-compiled ActionScript in an
..swf movie. As for Java, AFAIK the Java API already provides the necessary
graphic-related classes by itself to draw on the canvas of an applet or an
application window, and to handle pointing devices.
HTH
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7 (AT) news (DOT) demon.co.uk>