Take the 2-minute tour ×
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

I want an interactive network graph for my web page. I've set up a db containing edges and nodes. I have JS functions getNode(id) and getEdge(id), which properly returns edges and nodes with their properties. I want this displayed graphically, but don't want to reinvent the wheel. I want to just pass the edge and node info, don't care much for style. Essentials: (directed) edges and nodes with labels, plus click events I can write my own methods for. Is there such a JS library?

share|improve this question
    
standard library question: do you care about licensing? –  Nick Wilde Aug 13 at 17:41
    
i want to display it to users, license must allow that –  aksdj Aug 13 at 18:20

1 Answer 1

up vote 3 down vote accepted

You can use the JavaScript library D3.js (BSD license), it contains some nice function to present the data as an interactive network:

enter image description here

enter image description here

enter image description here

More examples.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.