How can I handle click event on a node in dracula graph library?

1.8k views Asked by At

Given a simple node, I'd like to handle click event on a node.

For example when you click on "cherry" on the page http://www.graphdracula.net/, an alert should popup.

ps: need new tag "dracula" but I don't have enough reputation to create it...

1

There are 1 answers

5
Rafay On BEST ANSWER

cant you simply do

$("#cherryID").live('click',function(){

//code here
});