دنبال کننده ها

۱۳۹۶ دی ۱۲, سه‌شنبه

javascript - Adding context menu or dropdown menu in Sigma JS graph

[ad_1]



What's the best or preferred way to add a dropdown or context menu in a Sigma JS graph that appears at the mouse-click position, over the graph itself? I've seen libraries like contextmenu.js, but can it be done in a simpler or better way? My goal is to be able to click a node and then click a menu option, passing data from the node to functions called through click events on the menu.




[ad_2]

لینک منبع