You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to follow the example codes to customize the node appearance.
I have following code:
vargraphics=Viva.Graph.View.webglGraphics();graphics.node(function(node){console.log(node.id);returnViva.Graph.svg("rect").attr("width",10).attr("height",10).attr("fill","#00a2e8");});// specify where it should be rendered:varrenderer=Viva.Graph.View.renderer(graph,{container: document.getElementById('graphDiv'),layout : layout,graphics: graphics,renderLinks : true});renderer.run();
and nodes disappear:
Removing graphics.node(... reveals the nodes again:
Behind Viva.Graph.svg("rect") is a valid object.
The text was updated successfully, but these errors were encountered:
I was trying to follow the example codes to customize the node appearance.
I have following code:
and nodes disappear:
Removing graphics.node(... reveals the nodes again:
Behind Viva.Graph.svg("rect") is a valid object.
The text was updated successfully, but these errors were encountered: