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
Also tried to clear the existing canvas and redraw it entirely (failed also)
$('#asd').click(function() {
$('#canvas').html('');
ggg.addEdge("A3-1","S1", { });
var layouter = new Graph.Layout.Spring(ggg);
var renderer = new Graph.Renderer.Raphael('canvas', ggg, width, height);
});
The nodes are correct and adding the edge on initialization works fine, is this a bug in dracula?
The text was updated successfully, but these errors were encountered:
Seems correct to me... is there a specific reason why you are passing the empty object as third argument? No time to try this right now, but try removing it.
Also, if I remember correctly I had to manually redraw the edges right after adding them:
Hi, I need to dynamically add stuff to the canvas but all aproaches I try fail.
Also tried to clear the existing canvas and redraw it entirely (failed also)
The nodes are correct and adding the edge on initialization works fine, is this a bug in dracula?
The text was updated successfully, but these errors were encountered: