I am building a site where people submit pieces of data that are essentially nodes and edges, stored in a MySql database through PHP. I want to represent the data through network graphs (nodes and edges) on my web page. The graphs need to be interactive, such that the users can show and hide nodes. When a new node is shown, the graph needs to update with new nodes and edges from the database.
Is there any software or library that helps me do this?