Open vd28 opened 4 years ago
Hi, you must use "Viva.Graph.webglInputEvents" function. Like this:
var vivaGraphMain = Viva.Graph.graph(); var graphics = Viva.Graph.View.webglGraphics();
const events = Viva.Graph.webglInputEvents( graphics, vivaGraphMain ); events.click( YOUR FUNCTION );
Good look,
Hi.Could you tell me how to create mouse click event on node.And how to create a constantly visible label.Thanks in advance.