Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple javascript library for visualizing a graph/network in a circle? [closed]

I am looking for a javascript library which plots networks with the nodes arranged in a circle.

There are some other good questions about javascript visualisation in general, but most of the things referenced seem to be quite heavyweight toolkits. I am looking for a simple API that lets me pass in an array of string pairs representing connections, and then plots the nodes of the resulting graph in a circle, with interior lines joining the connected nodes.

Requirements: javascript (not flash), free, available for offline use

like image 785
kdt Avatar asked Dec 24 '09 13:12

kdt


2 Answers

I recently had a similar need and found that the best free graph visualization was Javascript InfoVis Tooklit. I couldn't find anything more lightweight that would also display a reasonable connected graph. Fortunately, there are a good number of examples/tutorials to learn how to set it up for your specific application.

like image 182
James Kolpack Avatar answered Nov 02 '22 08:11

James Kolpack


Cytoscape Web JS will do what you need.

Check out the github page here which also contains a simple demo http://cytoscape.github.com/cytoscape.js/

like image 4
Omar Wagih Avatar answered Nov 02 '22 09:11

Omar Wagih