ack__
ack__

Reputation: 923

Javascript plugin for graph rendering (tree and nodes)

I'm looking for a Javascript API to draw this kind of graph :D3 graph

Except I don't need/want the "force" effect. Something static is ok, it can be an image generated or some JS rendering (I prefer this).

I've gone through a lot of google results without success, and every JS plugins i've found based on D3 is overkill.

The data will be from 10 to 100 nodes, and performance is not the key (though highly appreciated).

Thank you !

EDIT : a perfect solution would accept XML as data input, but I can accomodate with other formats. Also, I need something as "plug-and-play" as possible, I'm far from mastering JS/webdesign, which is the reason why I don't create my own rendering based on D3.js

Upvotes: 1

Views: 1563

Answers (2)

bperson
bperson

Reputation: 1335

You could simply delete this part of the example that you have found, and it will become static :

  .call(force.drag);

Upvotes: 1

Related Questions